Fix perspective button hide when it should be actually disabled
(cherry picked from commit 2e5b6b5bde
)
This commit is contained in:
parent
511fb03e20
commit
0f51f138b5
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue