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 843b759c71 - Show all commits

View File

@ -4,15 +4,17 @@
# There is no behaviour that is specific to a particular task layer.
# You could even choose to name your task layers after artists in your team.
# {Task Layer Key: Collection/UI name}
# TODO Replace ENUM with List
TASK_LAYER_TYPES = {
"NONE": "None",
"MOD": "Modeling",
"RIG": "Rigging",
"SHD": "Shading",
"Modeling": "Modeling",
"Rigging": "Rigging",
"Shading": "Shading",
}
# When creating a new asset, start in this task layer's file.
STARTING_FILE = 'MOD'
STARTING_FILE = 'Modeling'
# Convert it to the format that EnumProperty.items wants:
# List of 3-tuples, re-use name as description at 3rd element.
@ -48,18 +50,18 @@ TRANSFER_DATA_TYPES = {
# Default of which task layer owns each data type
DEFAULT_OWNERSHIP = {
VERTEX_GROUP_KEY: "RIG",
MODIFIER_KEY: "RIG",
CONSTRAINT_KEY: "RIG",
MATERIAL_SLOT_KEY: "SHD",
SHAPE_KEY_KEY: "MOD",
ATTRIBUTE_KEY: "RIG",
PARENT_KEY: "RIG",
VERTEX_GROUP_KEY: "Rigging",
MODIFIER_KEY: "Rigging",
CONSTRAINT_KEY: "Rigging",
MATERIAL_SLOT_KEY: "Shading",
SHAPE_KEY_KEY: "Modeling",
ATTRIBUTE_KEY: "Rigging",
PARENT_KEY: "Rigging",
}
DEFAULT_OWNERSHIP_ATTRIBUTES = {
"sharp_face": "MOD",
"UVMap": "SHD", # Hard Coded name of default UVMap
"sharp_face": "Modeling",
"UVMap": "Shading", # Hard Coded name of default UVMap
}
# Convert it to the format that EnumProperty.items wants:
# List of 5-tuples; Re-use name as description at 3rd element, add index at 5th.