FBX IO: Fix error importing BlendShapeChannels with extraneous FullWeights #104956
@ -3546,7 +3546,7 @@ def load(operator, context, filepath="",
|
|||||||
|
|
||||||
# shape -> blendshapechannel -> blendshape -> mesh.
|
# shape -> blendshapechannel -> blendshape -> mesh.
|
||||||
for bc_uuid, fbx_bcdata, _bl_bcdata in connections_gen(s_uuid, b'Deformer', b'BlendShapeChannel'):
|
for bc_uuid, fbx_bcdata, _bl_bcdata in connections_gen(s_uuid, b'Deformer', b'BlendShapeChannel'):
|
||||||
# Track the Shapes connected to each BlendShapeChannel. Duplicates are ignored.
|
# Track the Shapes connected to each BlendShapeChannel.
|
||||||
shapes_assigned_to_channel = blend_shape_channel_to_shapes.setdefault(bc_uuid, set())
|
shapes_assigned_to_channel = blend_shape_channel_to_shapes.setdefault(bc_uuid, set())
|
||||||
shapes_assigned_to_channel.add(s_uuid)
|
shapes_assigned_to_channel.add(s_uuid)
|
||||||
for bs_uuid, _fbx_bsdata, _bl_bsdata in connections_gen(bc_uuid, b'Deformer', b'BlendShape'):
|
for bs_uuid, _fbx_bsdata, _bl_bsdata in connections_gen(bc_uuid, b'Deformer', b'BlendShape'):
|
||||||
|
Loading…
Reference in New Issue
Block a user