From 65215a7829b50aa83e4c469d2747a6f1cc5c50b1 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sun, 5 Aug 2018 19:24:11 +0100 Subject: [PATCH] Initialize default lock rotation in constructor --- editor/plugins/spatial_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index eab1588a55f..36f38fcc675 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -3429,6 +3429,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;