Merge pull request #77874 from detomon/clear-bone-name-index-after-clear-bones

Fix adding bones with the same name after calling `Skeleton3D.clear_bones()`
This commit is contained in:
Rémi Verschelde 2023-06-05 18:05:06 +02:00
commit d046c5099a
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

View File

@ -548,6 +548,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();