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