Fix for folding "Editable Children" nodes in Scene tree not being saved
This commit is contained in:
parent
607b230ffe
commit
b89aee45d7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ void EditorFolding::_fill_folds(const Node *p_root, const Node *p_node, Array &p
|
||||||
if (!p_node->get_owner()) {
|
if (!p_node->get_owner()) {
|
||||||
return; //not owned, bye
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue