Merge pull request from groud/fix_rotation_track_wrong_type

Fixes rotation 3D track inspector not using the correct type
This commit is contained in:
Rémi Verschelde 2022-02-09 22:17:07 +01:00 committed by GitHub
commit 8161e28512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -570,7 +570,7 @@ public:
p_list->push_back(PropertyInfo(Variant::VECTOR3, "position")); p_list->push_back(PropertyInfo(Variant::VECTOR3, "position"));
} break; } break;
case Animation::TYPE_ROTATION_3D: { case Animation::TYPE_ROTATION_3D: {
p_list->push_back(PropertyInfo(Variant::VECTOR3, "rotation")); p_list->push_back(PropertyInfo(Variant::QUATERNION, "rotation"));
} break; } break;
case Animation::TYPE_SCALE_3D: { case Animation::TYPE_SCALE_3D: {
p_list->push_back(PropertyInfo(Variant::VECTOR3, "scale")); p_list->push_back(PropertyInfo(Variant::VECTOR3, "scale"));