Merge pull request #20744 from Zylann/fix_viewport_lock_rotation

Initialize default lock rotation in constructor
This commit is contained in:
Rémi Verschelde 2018-08-14 15:49:04 +02:00 committed by GitHub
commit 0322081ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3386,6 +3386,7 @@ SpatialEditorViewport::SpatialEditorViewport(SpatialEditor *p_spatial_editor, Ed
clicked = 0;
clicked_includes_current = false;
orthogonal = false;
lock_rotation = false;
message_time = 0;
zoom_indicator_delay = 0.0;