Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 7 additions and 5 deletions
Showing only changes of commit dfa494a767 - Show all commits

View File

@ -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": "",

View File

@ -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'
)
]