Asset Pipeline: Only Create Active Index Map on Mesh Objects #203
@ -286,6 +286,8 @@ class AssetTransferMapping:
|
|||||||
|
|
||||||
if temp_transfer_data_item.type != constants.MATERIAL_SLOT_KEY:
|
if temp_transfer_data_item.type != constants.MATERIAL_SLOT_KEY:
|
||||||
continue
|
continue
|
||||||
|
if source_obj.type != 'MESH':
|
||||||
|
continue
|
||||||
|
|
||||||
active_uv_name = source_obj.data.uv_layers.active.name if source_obj.data.uv_layers.active else ''
|
active_uv_name = source_obj.data.uv_layers.active.name if source_obj.data.uv_layers.active else ''
|
||||||
active_color_attribute_name = source_obj.data.color_attributes.active_color_name
|
active_color_attribute_name = source_obj.data.color_attributes.active_color_name
|
||||||
|
Loading…
Reference in New Issue
Block a user