Open collinhover opened 9 years ago
Yes, This is a problem, but you can see the code: https://github.com/cocos2d/cocos2d-html5/blob/develop/cocos2d/core/base-nodes/CCNodeWebGLRenderCmd.js#L141
I think we should to remove these codes:
if(parentCmd && (parentCmd._dirtyFlag & flags.transformDirty))
locFlag |= flags.transformDirty;
We'll review the dirty status management, Thanks for your notice. David
If you remove the code you suggest, how will the child nodes know when their parent transform has changed and caused their own transform to change?
Any update or timeline on this issue?
Is this intended or a bug? If a bug, the fix appears to be to remove https://github.com/cocos2d/cocos2d-html5/blob/develop/cocos2d/core/base-nodes/CCNodeWebGLRenderCmd.js#L200