summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-30 19:08:44 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-30 19:08:44 +0100
commitb355e29b97fb43ebde7eb3a122cda720aef9779c (patch)
treeaabdc95c5e61af53bba1ed6d5d06197ea990c4b3 /editor/editor_node.cpp
parent4ff610dfaaba985a1364b497f8d81910ca24c55f (diff)
parent5d2a9a3570e044d8ada9da35bf49ca0e5aafdc52 (diff)
Merge pull request #69397 from KoBeWi/eradicate_folding
Make remote inspector groups not foldable
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index d00a64f796..06e1e8b22e 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -2274,7 +2274,9 @@ void EditorNode::_edit_current(bool p_skip_foreign) {
} else {
Node *selected_node = nullptr;
- if (current_obj->is_class("MultiNodeEdit")) {
+ if (current_obj->is_class("EditorDebuggerRemoteObject")) {
+ disable_folding = true;
+ } else if (current_obj->is_class("MultiNodeEdit")) {
Node *scene = get_edited_scene();
if (scene) {
MultiNodeEdit *multi_node_edit = Object::cast_to<MultiNodeEdit>(current_obj);