Asset Pipeline v2 #145
@ -6,7 +6,7 @@ bl_info = {
|
||||
"name": "Asset Pipeline 2",
|
||||
"author": "Nick Alberelli",
|
||||
"description": "Blender Studio Asset Pipeline Add-on",
|
||||
"blender": (3, 1, 0),
|
||||
"blender": (4, 0, 0),
|
||||
"version": (0, 1, 2),
|
||||
"location": "View3D",
|
||||
"warning": "",
|
||||
|
@ -587,12 +587,14 @@ def transfer_shape_key(
|
||||
|
||||
# ATTRIBUTE
|
||||
def attributes_get_editable(attributes):
|
||||
# TODO replace 'position' HACK with is_required once https://projects.blender.org/blender/blender/pulls/111468 is merged
|
||||
return [
|
||||
item
|
||||
for item in attributes
|
||||
attribute
|
||||
for attribute in attributes
|
||||
if not (
|
||||
item.is_internal or item.name == 'position' or item.name == 'material_index'
|
||||
attribute.is_internal
|
||||
or attribute.is_required
|
||||
# Material Index is part of material transfer and should be skipped
|
||||
or attribute.name == 'material_index'
|
||||
)
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user