1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix uninitialized bool. Breaks translation in release_debug target.

This commit is contained in:
Przemysław Gołąb (n-pigeon)
2017-11-13 22:54:33 +01:00
parent 4c000a05f6
commit 9a4f6d6689

View File

@@ -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: