1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Initialize PhysicalBone2D::parent_skeleton

This commit is contained in:
Haoyu Qiu
2021-06-13 12:10:11 +08:00
parent ccaefbce55
commit 9cbf066feb

View File

@@ -44,7 +44,7 @@ protected:
static void _bind_methods();
private:
Skeleton2D *parent_skeleton;
Skeleton2D *parent_skeleton = nullptr;
int bone2d_index = -1;
NodePath bone2d_nodepath;
bool follow_bone_when_simulating = false;