summaryrefslogtreecommitdiff
path: root/scene/resources/animation.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-04 14:11:03 +0200
committerGitHub <noreply@github.com>2021-06-04 14:11:03 +0200
commit5dc923d3863b504d64b19501eaec04749cd975ce (patch)
tree8b9f62122d75a3e55cec506fb0d96b7c8a9dbfed /scene/resources/animation.h
parent023056bc5c1289f930a4f85916d6ddcd3d4b3ea4 (diff)
parent125d1a7cd330ad7b2f971bad16e126b8100e6926 (diff)
Merge pull request #49297 from aaronfranke/anim-type-tr3d
Rename Animation TYPE_TRANSFORM to TYPE_TRANSFORM3D
Diffstat (limited to 'scene/resources/animation.h')
-rw-r--r--scene/resources/animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/animation.h b/scene/resources/animation.h
index 66bc71c834..bfcb33af40 100644
--- a/scene/resources/animation.h
+++ b/scene/resources/animation.h
@@ -42,7 +42,7 @@ class Animation : public Resource {
public:
enum TrackType {
TYPE_VALUE, ///< Set a value in a property, can be interpolated.
- TYPE_TRANSFORM, ///< Transform a node or a bone.
+ TYPE_TRANSFORM3D, ///< Transform a node or a bone.
TYPE_METHOD, ///< Call any method on a specific node.
TYPE_BEZIER, ///< Bezier curve
TYPE_AUDIO,
@@ -97,7 +97,7 @@ private:
struct TransformTrack : public Track {
Vector<TKey<TransformKey>> transforms;
- TransformTrack() { type = TYPE_TRANSFORM; }
+ TransformTrack() { type = TYPE_TRANSFORM3D; }
};
/* PROPERTY VALUE TRACK */