diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-13 10:32:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 10:32:38 +0200 |
commit | 558f13e4f7d4f5abeeaa127b4fa11982f6a8e030 (patch) | |
tree | cc726611708fa883022f8b1be9f9d72f41923dce /scene | |
parent | 56edf2d2a52b7cc34bb02fc22abee4a3721d30c6 (diff) | |
parent | 9cbf066feb6ef11bcdbc4fe5fbf0683bdf8eff87 (diff) |
Merge pull request #49554 from timothyqiu/physical-bone-2d-init
Initialize PhysicalBone2D::parent_skeleton
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/physical_bone_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/physical_bone_2d.h b/scene/2d/physical_bone_2d.h index d650a0426f..46a2772bad 100644 --- a/scene/2d/physical_bone_2d.h +++ b/scene/2d/physical_bone_2d.h @@ -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; |