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

Invalid onDidLoadFromCCB call order #9

Open
MartinCote opened this issue May 24, 2013 · 0 comments
Open

Invalid onDidLoadFromCCB call order #9

MartinCote opened this issue May 24, 2013 · 0 comments

Comments

@MartinCote
Copy link

I have a scene with a CCBFile. I've noticed that sometimes, but not every time, the main scene onDidLoadFromCCB function is called before the one from the inner CCBFile, which causes some issues (such that the controller property isn't yet set on the inner CCBFile).

After a bit of investigation, the problem seems to be caused by CCBReader, which stores the animation managers in a dictionary with pointer values as keys.

When the BuilderReader load function goes through the nodesWithAnimationManagers, the order is then undefined.

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

No branches or pull requests

1 participant