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