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.
Showing only changes of commit 1773c04f7f - Show all commits

View File

@ -13,13 +13,18 @@ def draw_transfer_data_type(layout, items):
def draw_transfer_data(ownership, layout) -> None: def draw_transfer_data(ownership, layout) -> None:
vertex_groups = [ vertex_groups = []
item for item in ownership if item.type == constants.VERTEX_GROUP_KEY material_slots = []
] modifiers = []
material_slots = [
item for item in ownership if item.type == constants.MATERIAL_SLOT_KEY for item in ownership:
] if item.type == constants.VERTEX_GROUP_KEY:
modifiers = [item for item in ownership if item.type == constants.MODIFIER_KEY] vertex_groups.append(item)
if item.type == constants.MATERIAL_SLOT_KEY:
material_slots.append(item)
if item.type == constants.MODIFIER_KEY:
modifiers.append(item)
draw_transfer_data_type(layout, vertex_groups) draw_transfer_data_type(layout, vertex_groups)
draw_transfer_data_type(layout, modifiers) draw_transfer_data_type(layout, modifiers)
draw_transfer_data_type(layout, material_slots) draw_transfer_data_type(layout, material_slots)