You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a scene node is disconnected from its parent, ie
foo.disconnect();
The scene graph recompiles, including foo, but the state within foo and its subnodes is still within the display list.
...
A possible solution would be to hold disconnected nodes in a special list, then on the scene recompile iterate that and destroy their display list elements. When a node is disconnected then reconnected elsewhere before the next compile, then it won't be in the list at the next recompile and won't have its display list elements destroyed.
SceneJS version
[X ] Dev
[ X] Master
[ X] ...
Browser
All of them
Chrome
Firefox
Internet Explorer
OS
All of them
Windows
Linux
Android
IOS
Hardware Requirements
The text was updated successfully, but these errors were encountered:
Description of the problem
When a scene node is disconnected from its parent, ie
The scene graph recompiles, including
foo
, but the state withinfoo
and its subnodes is still within the display list....
A possible solution would be to hold disconnected nodes in a special list, then on the scene recompile iterate that and destroy their display list elements. When a node is disconnected then reconnected elsewhere before the next compile, then it won't be in the list at the next recompile and won't have its display list elements destroyed.
SceneJS version
Browser
OS
Hardware Requirements
The text was updated successfully, but these errors were encountered: