1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Fix adding bones with the same name after calling Skeleton3D.clear_bones()

(cherry picked from commit ea80213eee)
This commit is contained in:
detomon
2023-06-29 16:03:22 +02:00
committed by Yuri Sizov
parent 0649c05756
commit bf8f9e28c8

View File

@@ -543,6 +543,7 @@ bool Skeleton3D::is_show_rest_only() const {
void Skeleton3D::clear_bones() {
bones.clear();
name_to_bone_index.clear();
process_order_dirty = true;
version++;
_make_dirty();