fix CollisionShape3D Shape Size handle will missing
when Script editor floating
This commit is contained in:
parent
c495eb5102
commit
fec0396cac
3 changed files with 9 additions and 1 deletions
|
|
@ -2357,7 +2357,7 @@ void EditorNode::_edit_current(bool p_skip_foreign) {
|
|||
SceneTreeDock::get_singleton()->set_selected(current_node);
|
||||
InspectorDock::get_singleton()->update(current_node);
|
||||
if (!inspector_only && !skip_main_plugin) {
|
||||
skip_main_plugin = stay_in_script_editor_on_node_selected && ScriptEditor::get_singleton()->is_visible_in_tree();
|
||||
skip_main_plugin = stay_in_script_editor_on_node_selected && !ScriptEditor::get_singleton()->is_editor_floating() && ScriptEditor::get_singleton()->is_visible_in_tree();
|
||||
}
|
||||
} else {
|
||||
NodeDock::get_singleton()->set_node(nullptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue