Merge pull request #55899 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"));
} 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"));