Clear SceneTreeFTI completely on enabling / disabling.
This commit is contained in:
parent
e1b4101e34
commit
3f0de57b3c
1 changed files with 11 additions and 0 deletions
|
|
@ -88,6 +88,17 @@ void SceneTreeFTI::set_enabled(Node *p_root, bool p_enabled) {
|
|||
data.tick_xform_list[0].clear();
|
||||
data.tick_xform_list[1].clear();
|
||||
|
||||
data.frame_xform_list.clear();
|
||||
data.frame_xform_list_forced.clear();
|
||||
|
||||
data.tick_property_list[0].clear();
|
||||
data.tick_property_list[1].clear();
|
||||
|
||||
data.frame_property_list.clear();
|
||||
data.request_reset_list.clear();
|
||||
|
||||
_clear_depth_lists();
|
||||
|
||||
// Node3D flags must be reset.
|
||||
if (p_root) {
|
||||
_reset_flags(p_root);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue