diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-11-13 23:11:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 23:11:04 +0100 |
commit | c4f9820c2ff00653ab1fdfda977fbc01e75f1138 (patch) | |
tree | 05145e0c0441a8166490dcf198a006eccb91d968 /editor | |
parent | f3d812e3a0549e1235184713c8ebe0c6b26c9fde (diff) | |
parent | 9a4f6d66896b11db71690e0d33d43a614dbd725b (diff) |
Merge pull request #12909 from n-pigeon/tra_gizmo_fix_2
Fix uninitialized bool. Breaks translation in release_debug target.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 75c6961521..b87084e392 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -1255,7 +1255,6 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { Vector3 motion_mask; Plane plane; - bool plane_mv; switch (_edit.plane) { case TRANSFORM_VIEW: @@ -1376,7 +1375,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { Vector3 motion_mask; Plane plane; - bool plane_mv; + bool plane_mv = false; switch (_edit.plane) { case TRANSFORM_VIEW: |