From ae713f8980c734211ab72fb9bc266d108da3c58d Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Fri, 12 Nov 2021 09:30:34 -0600 Subject: Add a minimal template build to CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Rémi Verschelde --- scene/animation/animation_tree.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene') 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); -- cgit v1.2.3