rotation gizmo visible = false; when camera preview
(cherry picked from commit 60d67f13da
)
This commit is contained in:
parent
c4e00f3d57
commit
7d931bad58
|
@ -3090,6 +3090,8 @@ void SpatialEditorViewport::_toggle_camera_preview(bool p_activate) {
|
||||||
ERR_FAIL_COND(p_activate && !preview);
|
ERR_FAIL_COND(p_activate && !preview);
|
||||||
ERR_FAIL_COND(!p_activate && !previewing);
|
ERR_FAIL_COND(!p_activate && !previewing);
|
||||||
|
|
||||||
|
rotation_control->set_visible(!p_activate);
|
||||||
|
|
||||||
if (!p_activate) {
|
if (!p_activate) {
|
||||||
|
|
||||||
previewing->disconnect("tree_exiting", this, "_preview_exited_scene");
|
previewing->disconnect("tree_exiting", this, "_preview_exited_scene");
|
||||||
|
|
Loading…
Reference in New Issue