Asset Pipeline v2 #145
@ -487,7 +487,17 @@ def transfer_shape_key(
|
||||
|
||||
# ATTRIBUTE
|
||||
def attributes_get_editable(attributes):
|
||||
return [item for item in attributes if not (item.is_required or item.is_internal)]
|
||||
# TODO replace 'position' HACK with is_required once https://projects.blender.org/blender/blender/pulls/111468 is merged
|
||||
return [
|
||||
item
|
||||
for item in attributes
|
||||
if not (
|
||||
item.is_internal
|
||||
or item.name == 'position'
|
||||
or item.name == 'material_index'
|
||||
or item.name == 'sharp_face'
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
def attribute_clean(obj):
|
||||
|
Loading…
Reference in New Issue
Block a user