summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-11-30 15:31:24 +0100
committerkobewi <kobewi4e@gmail.com>2022-11-30 15:31:24 +0100
commit5d2a9a3570e044d8ada9da35bf49ca0e5aafdc52 (patch)
tree4b82e0c32c96f08f133a2f65ff0400cdaaccf45e
parentcd491c6e47bb41ccf596189676c0c5d4a72226cc (diff)
Make remote inspector groups not foldable
-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);