Merge pull request #49554 from timothyqiu/physical-bone-2d-init

Initialize PhysicalBone2D::parent_skeleton
This commit is contained in:
Rémi Verschelde 2021-06-13 10:32:38 +02:00 committed by GitHub
commit 558f13e4f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;