mirror of https://github.com/godotengine/godot
Merge pull request #49003 from Calinou/editor-freelook-fix-redrawing-when-not-moving
Fix editor constantly redrawing when freelook is active with still camera
This commit is contained in:
commit
acdcd37ad2
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue