浏览代码

Merge pull request #55899 from groud/fix_rotation_track_wrong_type

Fixes rotation 3D track inspector not using the correct type
Rémi Verschelde 3 年之前
父节点
当前提交
8161e28512
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/animation_track_editor.cpp

+ 1 - 1
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"));