summaryrefslogtreecommitdiff
path: root/scene/resources/skin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/skin.cpp')
-rw-r--r--scene/resources/skin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/resources/skin.cpp b/scene/resources/skin.cpp
index 56c1dab4be..fee8fdbde2 100644
--- a/scene/resources/skin.cpp
+++ b/scene/resources/skin.cpp
@@ -81,6 +81,10 @@ void Skin::clear_binds() {
emit_changed();
}
+void Skin::reset_state() {
+ clear_binds();
+}
+
bool Skin::_set(const StringName &p_name, const Variant &p_value) {
String name = p_name;
if (name == "bind_count") {