Fix an another include.

This commit is contained in:
Relintai 2022-08-28 17:02:41 +02:00
parent 94cbc5708d
commit ad72b82a89

View File

@ -38,6 +38,10 @@
#include "scene/scene_string_names.h" #include "scene/scene_string_names.h"
#include "servers/audio/audio_stream.h" #include "servers/audio/audio_stream.h"
#ifdef MODULE_SKELETON_3D_ENABLED
#include "modules/skeleton_3d/nodes/skeleton.h"
#endif
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_settings.h" #include "editor/editor_settings.h"
@ -46,10 +50,6 @@
#include "modules/skeleton_2d/nodes/skeleton_2d.h" #include "modules/skeleton_2d/nodes/skeleton_2d.h"
#endif #endif
#ifdef MODULE_SKELETON_3D_ENABLED
#include "modules/skeleton_3d/nodes/skeleton.h"
#endif
void AnimatedValuesBackup::update_skeletons() { void AnimatedValuesBackup::update_skeletons() {
for (int i = 0; i < entries.size(); i++) { for (int i = 0; i < entries.size(); i++) {
if (entries[i].bone_idx != -1) { if (entries[i].bone_idx != -1) {