mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Fix incorrect skin deduplication when using named binds
(cherry picked from commit 60f620411e
)
This commit is contained in:
parent
997f8f5d29
commit
d36ab91461
@ -2380,6 +2380,9 @@ bool EditorSceneImporterGLTF::_skins_are_same(const Ref<Skin> &skin_a, const Ref
|
||||
if (skin_a->get_bind_bone(i) != skin_b->get_bind_bone(i)) {
|
||||
return false;
|
||||
}
|
||||
if (skin_a->get_bind_name(i) != skin_b->get_bind_name(i)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Transform a_xform = skin_a->get_bind_pose(i);
|
||||
Transform b_xform = skin_b->get_bind_pose(i);
|
||||
|
Loading…
Reference in New Issue
Block a user