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.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/scene/animation/animation_cache.h b/scene/animation/animation_cache.h
index 20147f060b..feff1d364a 100644
--- a/scene/animation/animation_cache.h
+++ b/scene/animation/animation_cache.h
@@ -35,11 +35,9 @@
#include "scene/resources/animation.h"
class AnimationCache : public Object {
-
GDCLASS(AnimationCache, Object);
struct Path {
-
RES resource;
Object *object;
Skeleton3D *skeleton; // haxor
@@ -50,12 +48,12 @@ class AnimationCache : public Object {
Vector<StringName> subpath;
bool valid;
Path() {
- object = NULL;
- skeleton = NULL;
- node = NULL;
+ object = nullptr;
+ skeleton = nullptr;
+ node = nullptr;
bone_idx = -1;
valid = false;
- spatial = NULL;
+ spatial = nullptr;
}
};