Asset Pipeline v2 #145
@ -6,7 +6,7 @@ bl_info = {
|
|||||||
"name": "Asset Pipeline 2",
|
"name": "Asset Pipeline 2",
|
||||||
"author": "Nick Alberelli",
|
"author": "Nick Alberelli",
|
||||||
"description": "Blender Studio Asset Pipeline Add-on",
|
"description": "Blender Studio Asset Pipeline Add-on",
|
||||||
"blender": (3, 1, 0),
|
"blender": (4, 0, 0),
|
||||||
"version": (0, 1, 2),
|
"version": (0, 1, 2),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
@ -587,12 +587,14 @@ def transfer_shape_key(
|
|||||||
|
|
||||||
# ATTRIBUTE
|
# ATTRIBUTE
|
||||||
def attributes_get_editable(attributes):
|
def attributes_get_editable(attributes):
|
||||||
# TODO replace 'position' HACK with is_required once https://projects.blender.org/blender/blender/pulls/111468 is merged
|
|
||||||
return [
|
return [
|
||||||
item
|
attribute
|
||||||
for item in attributes
|
for attribute in attributes
|
||||||
if not (
|
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