Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CCNode.m #9

Open
wants to merge 1 commit into
base: v2.2
Choose a base branch
from
Open

Update CCNode.m #9

wants to merge 1 commit into from

Conversation

madibb
Copy link

@madibb madibb commented Oct 21, 2015

Fixes the case when an action runs on a node and the node "loses" its properties before the action was run.

Example: A node is child of a layer that is scaled (CCScaleTo action), and the node doesn't scale. Same for CCMoveTo applied to the parent layer, the child node stays in the same place. This affects only the nodes that previously ran another action (even if the action was stopped).

Fixes the case when an action runs on a node and the node "loses" its properties before the action was run. 

Example: A node is child of a layer that is scaled (CCScaleTo action), and the node doesn't scale. Same for CCMoveTo applied to the parent layer, the child node stays in the same place. This affects only the nodes that previously ran another action (even if the action was stopped).
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.

1 participant