浏览代码

Disable active editors when node gets deselected

(cherry picked from commit 958d23968d3ea600af867e6b0d6957723286e547)
Tomasz Chabora 5 年之前
父节点
当前提交
04ce4e6abb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -1815,6 +1815,7 @@ void EditorNode::push_item(Object *p_object, const String &p_property, bool p_in
 		node_dock->set_node(NULL);
 		scene_tree_dock->set_selected(NULL);
 		inspector_dock->update(NULL);
+		_display_top_editors(false);
 		return;
 	}