diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-28 09:47:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-28 09:47:29 +0200 |
| commit | c7e646c30a5ca9abcd04383381d9a216cd2ee185 (patch) | |
| tree | 431cb56ac164abee8845af163f9c23f7dbc3b1ab /editor/plugins/spatial_editor_plugin.cpp | |
| parent | 1c60465c5958446a2daccc54a1c58c3dee9b21a3 (diff) | |
| parent | 7b081a7fc8011c5ce7194fc0eabb8768e0f9d4c6 (diff) | |
| download | redot-engine-c7e646c30a5ca9abcd04383381d9a216cd2ee185.tar.gz | |
Merge pull request #22447 from akien-mga/fix-warnings-Wswitch
Fix warnings about unhandled enum value in switch [-Wswitch]
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 356bfbe2b2..271f753003 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -997,6 +997,10 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { set_message(TTR("View Plane Transform."), 2); } break; + case TRANSFORM_YZ: + case TRANSFORM_XZ: + case TRANSFORM_XY: { + } break; } } } break; @@ -1545,6 +1549,10 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) { plane = Plane(_edit.center, spatial_editor->get_gizmo_transform().basis.get_axis(2)); axis = Vector3(0, 0, 1); break; + case TRANSFORM_YZ: + case TRANSFORM_XZ: + case TRANSFORM_XY: + break; } Vector3 intersection; |
