summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-11-12 09:30:34 -0600
committerAaron Franke <arnfranke@yahoo.com>2021-11-12 09:30:50 -0600
commitae713f8980c734211ab72fb9bc266d108da3c58d (patch)
treefd6f3a2ac8cb429aa515cfdcc6ecf7bd0c1bf459 /scene
parent57ae154e864befec34c286cab8f3303d17b55912 (diff)
Add a minimal template build to CI
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_tree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index 87ae870364..37e754148c 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -901,7 +901,9 @@ void AnimationTree::_process_graph(real_t p_delta) {
real_t weight = as.blend;
bool seeked = as.seeked;
int pingponged = as.pingponged;
+#ifndef _3D_DISABLED
bool backward = signbit(delta);
+#endif // _3D_DISABLED
for (int i = 0; i < a->get_track_count(); i++) {
NodePath path = a->track_get_path(i);