Skip to content

Commit

Permalink
Merge pull request #94911 from yahkr/91542-fix
Browse files Browse the repository at this point in the history
Fix for folding "Editable Children" nodes in Scene tree not being saved
  • Loading branch information
akien-mga committed Aug 19, 2024
2 parents 219eba9 + b89aee4 commit 3241b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_folding.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3241b44

Please sign in to comment.