summaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-08-27 08:09:25 +0200
committerGitHub <noreply@github.com>2022-08-27 08:09:25 +0200
commitc6516cfa3f2dfcebf98da5b468acbc9357c3409a (patch)
treecd078a938be475cc20bba35ac856103b9e524239 /scene/animation/animation_tree.h
parent4808d01b2bcda54db15e1e2649e0a38c37886ee1 (diff)
parent931fb4dc11509357297bcdcc6a8d6b11638ff585 (diff)
Merge pull request #64924 from TokageItLab/2drot
Add linear/cubic angle interpolation to `Animation::InterpolationType` for shortest 2D rotation
Diffstat (limited to 'scene/animation/animation_tree.h')
-rw-r--r--scene/animation/animation_tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h
index ee51a54557..ee0c0303dc 100644
--- a/scene/animation/animation_tree.h
+++ b/scene/animation/animation_tree.h
@@ -233,6 +233,7 @@ private:
Variant init_value;
Variant value;
Vector<StringName> subpath;
+ bool is_using_angle = false;
TrackCacheValue() { type = Animation::TYPE_VALUE; }
};