diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-15 16:27:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 16:27:08 +0200 |
commit | acdcd37ad28534113cea7c83dc28dfb74d8ffae0 (patch) | |
tree | b99e75823637f9186759a9eb18102a8268d14718 /editor | |
parent | 1129439f09abe7deaff0837f281c5c0805f280da (diff) | |
parent | 21807f8d883a3a276bea990c9349e0417caf46f6 (diff) |
Merge pull request #49003 from Calinou/editor-freelook-fix-redrawing-when-not-moving
Fix editor constantly redrawing when freelook is active with still camera
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/node_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp index 84b39e782c..fdb6e27367 100644 --- a/editor/plugins/node_3d_editor_plugin.cpp +++ b/editor/plugins/node_3d_editor_plugin.cpp @@ -344,7 +344,7 @@ void Node3DEditorViewport::_update_camera(float p_interp_delta) { equal = false; } - if (!equal || p_interp_delta == 0 || is_freelook_active() || is_orthogonal != orthogonal) { + if (!equal || p_interp_delta == 0 || is_orthogonal != orthogonal) { camera->set_global_transform(to_camera_transform(camera_cursor)); if (orthogonal) { |