aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/mesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-04 01:17:41 -0300
committerJuan Linietsky2017-01-04 01:17:41 -0300
commit76c2e8583e70e8c976a306e77a40e8e7226aa249 (patch)
treefe260ef3c0d00996d537f2fe3b8c78abfb92aa60 /tools/editor/plugins/mesh_editor_plugin.cpp
parentb085c40edfac45ec1c8b866c789f6e9bab7e5e08 (diff)
parent3a0c19d3f6ddb26359c95d84c376a8e6b1afd04d (diff)
downloadgodot-76c2e8583e70e8c976a306e77a40e8e7226aa249.tar.gz
godot-76c2e8583e70e8c976a306e77a40e8e7226aa249.tar.zst
godot-76c2e8583e70e8c976a306e77a40e8e7226aa249.zip
Diffstat (limited to 'tools/editor/plugins/mesh_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/mesh_editor_plugin.cpp4
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);
}