diff --git a/scene/resources/skeleton_modification_stack_3d.cpp b/scene/resources/skeleton_modification_stack_3d.cpp index 8104dd388..63e72009c 100644 --- a/scene/resources/skeleton_modification_stack_3d.cpp +++ b/scene/resources/skeleton_modification_stack_3d.cpp @@ -224,3 +224,6 @@ void SkeletonModificationStack3D::_bind_methods() { SkeletonModificationStack3D::SkeletonModificationStack3D() { } + +SkeletonModificationStack3D::~SkeletonModificationStack3D() { +} \ No newline at end of file diff --git a/scene/resources/skeleton_modification_stack_3d.h b/scene/resources/skeleton_modification_stack_3d.h index 5e67f995c..bdc1b0a46 100644 --- a/scene/resources/skeleton_modification_stack_3d.h +++ b/scene/resources/skeleton_modification_stack_3d.h @@ -59,7 +59,7 @@ public: execution_mode_physics_process, }; - Vector> modifications = LocalVector>(); + Vector> modifications; int modifications_count = 0; virtual void setup(); @@ -86,6 +86,7 @@ public: real_t get_strength() const; SkeletonModificationStack3D(); + ~SkeletonModificationStack3D(); }; #endif // SKELETON_MODIFICATION_STACK_3D_H