Skip to content

Conversation

@VisualSJ
Copy link
Contributor

@VisualSJ VisualSJ commented Jan 9, 2015

dingpinglv added a commit that referenced this pull request Jan 9, 2015
particle texture size and ActionManager currTarget.actions is null
@dingpinglv dingpinglv merged commit db60fb7 into cocos2d:develop Jan 9, 2015
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VisualSJ
@pandamicro

three questions for the loop:
1,as said in the comments: ""The 'actions' CCMutableArray may change while inside this loop"". so is it safe to make loop for a changing Array for getting the right value from the Array?

2,kindly consider that if it is in the inner loop then actions changed, is the logic right or needed or will lead to collapse?
for example, element.actions[3] = null;

3, what thing will lead to the change for actions? describing it clearly is good for reader. and is it reasonable?

@VisualSJ VisualSJ deleted the develop-loader branch January 22, 2015 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants