summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-09-25 16:44:44 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:02:34 +0100
commit263bebe0237b85b1343ba17b117c8c43287ecc57 (patch)
treeca2d803d0e1e3ec664bb0988d6a7896f6f55e8b2 /scene
parentf55332ffad4622b3da5d6ebcd0806d3ce37465f1 (diff)
Untested support for compute shaders
Diffstat (limited to 'scene')
-rw-r--r--scene/3d/skeleton.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/3d/skeleton.cpp b/scene/3d/skeleton.cpp
index 4089e0c23b..3e4cd54664 100644
--- a/scene/3d/skeleton.cpp
+++ b/scene/3d/skeleton.cpp
@@ -830,7 +830,9 @@ 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();
+
+ _make_dirty(); //skin needs to be updated, so update skeleton
+
return skin_ref;
}