diff options
author | K. S. Ernest Lee <ernest.lee@chibifire.com> | 2019-09-26 19:44:51 -0700 |
---|---|---|
committer | K. S. Ernest Lee <ernest.lee@chibifire.com> | 2019-09-26 19:44:51 -0700 |
commit | ea76f4805b2156291b674f923c823b3bc92b4822 (patch) | |
tree | 584188830e3e7825f63d3724eeed5e2b7812b50a | |
parent | b8e56c5c15380399c682d437a76828f0180f56d0 (diff) |
Update when the skeleton skin is changed.
-rw-r--r-- | scene/3d/skeleton.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp index ead1e69f90..f94dd6262f 100644 --- a/scene/3d/skeleton.cpp +++ b/scene/3d/skeleton.cpp @@ -770,6 +770,7 @@ Ref<SkinReference> Skeleton::register_skin(const Ref<Skin> &p_skin) { skin_bindings.insert(skin_ref.operator->()); skin->connect("changed", skin_ref.operator->(), "_skin_changed"); + _make_dirty(); return skin_ref; } |