Asset Pipeline v2 #145
@ -296,7 +296,8 @@ def material_slots_clean(obj):
|
|||||||
if transfer_data_list != []:
|
if transfer_data_list != []:
|
||||||
return
|
return
|
||||||
|
|
||||||
obj.data.materials.clear()
|
if obj.data and hasattr(obj.data, 'materials'):
|
||||||
|
obj.data.materials.clear()
|
||||||
|
|
||||||
|
|
||||||
def material_slots_is_missing(transfer_info):
|
def material_slots_is_missing(transfer_info):
|
||||||
|
Loading…
Reference in New Issue
Block a user