Update when the skeleton skin is changed.

This commit is contained in:
K. S. Ernest Lee 2019-09-26 19:44:51 -07:00
parent b8e56c5c15
commit ea76f4805b

View file

@ -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;
}