diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-05 16:45:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 16:45:29 +0200 |
commit | a71d8b561d7815ad1733ce03be98697d748de70c (patch) | |
tree | 24e1c21792e9200b0149b676c564d58093ba9e2e /editor | |
parent | 769b2ba385ac83ce1eeee3df31572635cd539a79 (diff) | |
parent | 2e5b6b5bde1e788ebe4a49e142e391937df2f3b2 (diff) |
Merge pull request #26927 from qarmin/fix_perspective_button_hide
Fix perspective button hide when it actually should be disabled
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index e3b51858ec..f48887d342 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -3010,7 +3010,7 @@ void SpatialEditorViewport::set_state(const Dictionary &p_state) { previewing = Object::cast_to<Camera>(pv); previewing->connect("tree_exiting", this, "_preview_exited_scene"); VS::get_singleton()->viewport_attach_camera(viewport->get_viewport_rid(), previewing->get_camera()); //replace - view_menu->hide(); + view_menu->set_disabled(true); surface->update(); preview_camera->set_pressed(true); preview_camera->show(); |