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