mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix incorrect skin deduplication when using named binds
This commit is contained in:
@@ -4390,6 +4390,9 @@ bool GLTFDocument::_skins_are_same(const Ref<Skin> skin_a, const Ref<Skin> skin_
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user