From ad72b82a894fd38a5ccd6ec5100bf4121fab3e92 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 28 Aug 2022 17:02:41 +0200 Subject: [PATCH] Fix an another include. --- scene/animation/animation_player.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 8cd3fbee9..3206286cf 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -38,6 +38,10 @@ #include "scene/scene_string_names.h" #include "servers/audio/audio_stream.h" +#ifdef MODULE_SKELETON_3D_ENABLED +#include "modules/skeleton_3d/nodes/skeleton.h" +#endif + #ifdef TOOLS_ENABLED #include "editor/editor_node.h" #include "editor/editor_settings.h" @@ -46,10 +50,6 @@ #include "modules/skeleton_2d/nodes/skeleton_2d.h" #endif -#ifdef MODULE_SKELETON_3D_ENABLED -#include "modules/skeleton_3d/nodes/skeleton.h" -#endif - void AnimatedValuesBackup::update_skeletons() { for (int i = 0; i < entries.size(); i++) { if (entries[i].bone_idx != -1) {