summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2018-09-07 10:49:40 +0200
committerJFonS <joan.fonssanchez@gmail.com>2018-09-07 10:49:40 +0200
commitb82f0378180cb37e2f7bdccc239ca706f5ed7cd5 (patch)
treede4c06e7dcfffae05660f0a1cd60edce81090467
parentcb63cc86e5ff8d70dc074381eb5f7d32298cd2ef (diff)
Fix selection of spatial nodes after selecting a non-spatial one.
Fixes #13849
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 353dce5b20..1ae28617f9 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -1548,6 +1548,8 @@ void EditorNode::_edit_current() {
editor_plugin_screen->edit(current_obj);
}
+ } else {
+ editor_plugin_screen->edit(current_obj);
}
Vector<EditorPlugin *> sub_plugins = editor_data.get_subeditors(current_obj);