Skip to content

Commit 2336f56

Browse files
committed
Merge pull request #108131 from lawnjelly/fti_clear_all
`FTI` - Clear `SceneTreeFTI` completely on enabling / disabling.
2 parents 2cf48a9 + 3f0de57 commit 2336f56

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scene/main/scene_tree_fti.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ void SceneTreeFTI::set_enabled(Node *p_root, bool p_enabled) {
8888
data.tick_xform_list[0].clear();
8989
data.tick_xform_list[1].clear();
9090

91+
data.frame_xform_list.clear();
92+
data.frame_xform_list_forced.clear();
93+
94+
data.tick_property_list[0].clear();
95+
data.tick_property_list[1].clear();
96+
97+
data.frame_property_list.clear();
98+
data.request_reset_list.clear();
99+
100+
_clear_depth_lists();
101+
91102
// Node3D flags must be reset.
92103
if (p_root) {
93104
_reset_flags(p_root);

0 commit comments

Comments
 (0)