diff options
author | Juan Linietsky <juan@godotengine.org> | 2018-05-02 11:00:35 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2018-05-02 11:01:12 -0300 |
commit | 4c3c510a807ee57c564e7b8b7885cf4fa113bbd5 (patch) | |
tree | 568359c6914afd1c479b1272f220bb165c94e535 /scene/2d/skeleton_2d.cpp | |
parent | c0192e405daf8e9139b1acfa6d236b916a0294a3 (diff) |
WIP Polygon2D weight editing
Diffstat (limited to 'scene/2d/skeleton_2d.cpp')
-rw-r--r-- | scene/2d/skeleton_2d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/skeleton_2d.cpp b/scene/2d/skeleton_2d.cpp index 705e82bcbb..3b3561bc1c 100644 --- a/scene/2d/skeleton_2d.cpp +++ b/scene/2d/skeleton_2d.cpp @@ -12,6 +12,8 @@ void Bone2D::_notification(int p_what) { break; if (!Object::cast_to<Bone2D>(parent)) break; //skeletons must be chained to Bone2Ds. + + parent = parent->get_parent(); } if (skeleton) { |