Asset Pipeline v2 #145
@ -348,7 +348,6 @@ def transfer_material_slot(material_slot_name, target_obj, source_obj):
|
||||
# Transfer material slot assignments for mesh
|
||||
for pol_to, pol_from in zip(target_obj.data.polygons, source_obj.data.polygons):
|
||||
pol_to.material_index = pol_from.material_index
|
||||
pol_to.use_smooth = pol_from.use_smooth
|
||||
|
||||
|
||||
# SHAPE KEYS
|
||||
@ -510,10 +509,7 @@ def attributes_get_editable(attributes):
|
||||
item
|
||||
for item in attributes
|
||||
if not (
|
||||
item.is_internal
|
||||
or item.name == 'position'
|
||||
or item.name == 'material_index'
|
||||
or item.name == 'sharp_face'
|
||||
item.is_internal or item.name == 'position' or item.name == 'material_index'
|
||||
)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user