diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-08-14 15:49:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-14 15:49:04 +0200 |
| commit | 0322081ec59e61da337a0a092ba97f233c17ed67 (patch) | |
| tree | 48e5931204fdefc1a7f206fe300f6e3f788afe84 | |
| parent | 22c3fcb20bea447ecf1dbda5815eee8799c34d9c (diff) | |
| parent | 65215a7829b50aa83e4c469d2747a6f1cc5c50b1 (diff) | |
| download | redot-engine-0322081ec59e61da337a0a092ba97f233c17ed67.tar.gz | |
Merge pull request #20744 from Zylann/fix_viewport_lock_rotation
Initialize default lock rotation in constructor
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index ba9785975f..c3d48d498c 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -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; |
