summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-11-12 17:23:07 +0100
committerGitHub <noreply@github.com>2021-11-12 17:23:07 +0100
commitaa1b13a96e6c4ef2075f1d816c90f959e66c21d5 (patch)
treef6d15942ced6da2940536d3455594bf87c4fbeed /scene
parent9da86c2fb73205869adf5a7449f5e4246d845db9 (diff)
parentae713f8980c734211ab72fb9bc266d108da3c58d (diff)
Merge pull request #51048 from aaronfranke/ci-minimal
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);