Explorar el Código

Fixes rotation 3D track inspector not using the correct type

Gilles Roudière hace 3 años
padre
commit
c77dd7b96f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"));