diff options
| author | Ferenc Arn | 2016-10-18 15:50:21 -0500 |
|---|---|---|
| committer | Ferenc Arn | 2017-01-03 17:41:04 -0600 |
| commit | bd7ba0b664fa98381db9ef8edb69ba211213d595 (patch) | |
| tree | 8e313066ce55a3366cd6b972ff429372583cda28 /tools/editor/plugins/mesh_editor_plugin.cpp | |
| parent | f2e99826c0b1e8227644bfab0795d858c504d279 (diff) | |
| download | godot-bd7ba0b664fa98381db9ef8edb69ba211213d595.tar.gz godot-bd7ba0b664fa98381db9ef8edb69ba211213d595.tar.zst godot-bd7ba0b664fa98381db9ef8edb69ba211213d595.zip | |
Diffstat (limited to 'tools/editor/plugins/mesh_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/mesh_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/mesh_editor_plugin.cpp b/tools/editor/plugins/mesh_editor_plugin.cpp index 785efebfc..13f3204a0 100644 --- a/tools/editor/plugins/mesh_editor_plugin.cpp +++ b/tools/editor/plugins/mesh_editor_plugin.cpp @@ -82,8 +82,8 @@ void MeshEditor::_notification(int p_what) { void MeshEditor::_update_rotation() { Transform t; - t.basis.rotate(Vector3(0, 1, 0), rot_y); - t.basis.rotate(Vector3(1, 0, 0), rot_x); + t.basis.rotate(Vector3(0, 1, 0), -rot_y); + t.basis.rotate(Vector3(1, 0, 0), -rot_x); mesh_instance->set_transform(t); } |
