From b89aee45d70cae2b2dc0b25dc60c1d418982654f Mon Sep 17 00:00:00 2001 From: Yahkub-R <62478788+Yahkub-R@users.noreply.github.com> Date: Mon, 29 Jul 2024 08:12:34 -0400 Subject: [PATCH] Fix for folding "Editable Children" nodes in Scene tree not being saved --- editor/editor_folding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_folding.cpp b/editor/editor_folding.cpp index ae065aebf87..18f56106552 100644 --- a/editor/editor_folding.cpp +++ b/editor/editor_folding.cpp @@ -93,7 +93,7 @@ void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p if (!p_node->get_owner()) { return; //not owned, bye } - if (p_node->get_owner() != p_root && !p_root->is_editable_instance(p_node)) { + if (p_node->get_owner() != p_root && !p_root->is_editable_instance(p_node->get_owner())) { return; } }