summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2021-12-13 12:25:08 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2021-12-13 12:25:08 +0100
commitc77dd7b96f3d1b9ac9e5492fd5b1da47e18a6dc8 (patch)
tree0056b8a22dca59998a7e0b9533096f0187c54785
parent7f9a82b944724c0228301ded5fbb8efee12eac4d (diff)
Fixes rotation 3D track inspector not using the correct type
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index e7251662b7..1db5d775ed 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -570,7 +570,7 @@ public:
p_list->push_back(PropertyInfo(Variant::VECTOR3, "position"));
} break;
case Animation::TYPE_ROTATION_3D: {
- p_list->push_back(PropertyInfo(Variant::VECTOR3, "rotation"));
+ p_list->push_back(PropertyInfo(Variant::QUATERNION, "rotation"));
} break;
case Animation::TYPE_SCALE_3D: {
p_list->push_back(PropertyInfo(Variant::VECTOR3, "scale"));