summaryrefslogtreecommitdiff
path: root/scene/animation/animation_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/animation_cache.h')
-rw-r--r--scene/animation/animation_cache.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/scene/animation/animation_cache.h b/scene/animation/animation_cache.h
index 7b073b4fa9..c856e644f7 100644
--- a/scene/animation/animation_cache.h
+++ b/scene/animation/animation_cache.h
@@ -40,9 +40,11 @@ class AnimationCache : public Object {
struct Path {
RES resource;
Object *object = nullptr;
- Skeleton3D *skeleton = nullptr; // haxor
+#ifndef _3D_DISABLED
+ Skeleton3D *skeleton = nullptr;
+ Node3D *node_3d = nullptr;
+#endif // _3D_DISABLED
Node *node = nullptr;
- Node3D *spatial = nullptr;
int bone_idx = -1;
Vector<StringName> subpath;