summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-09-27 21:51:35 +0200
committerGitHub <noreply@github.com>2019-09-27 21:51:35 +0200
commit34404a4c954dca0d2cd23d643341267f9a306564 (patch)
tree516836c35666172720e3e4ad9f445ed6767f12b8
parentba8b2a1af755a3e59e0275536e5e8f3728ba4235 (diff)
parentea76f4805b2156291b674f923c823b3bc92b4822 (diff)
Merge pull request #32380 from fire/skin_registration
Update when the skeleton skin is changed.
-rw-r--r--scene/3d/skeleton.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp
index b0f567f183..ae79b4eebf 100644
--- a/scene/3d/skeleton.cpp
+++ b/scene/3d/skeleton.cpp
@@ -792,6 +792,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;
}