Asset Pipeline v2 #145
@ -5,3 +5,9 @@ TASK_LAYER_ITEMS = [
|
||||
("MODEL", "Modeling", ""),
|
||||
("RIG", "Rigging", ""),
|
||||
]
|
||||
|
||||
TRANSFER_DATA_TYPES = [
|
||||
("NONE", "None", ""),
|
||||
("VERTEX_GROUP", "Vertex Group", ""),
|
||||
("MODIFIER", "Modifier", ""),
|
||||
]
|
@ -6,16 +6,18 @@ avaliable task layers from the task_layer_defaults.json file that needs to be cr
|
||||
"""
|
||||
|
||||
from . import constants
|
||||
class ASSETOWNERSHIP(bpy.types.PropertyGroup):
|
||||
owner: bpy.props.StringProperty(name="Transfer Data Owner", default="")
|
||||
type: bpy.props.StringProperty(name="Transfer Data Type", default="")
|
||||
id: bpy.props.PointerProperty(type=bpy.types.Object)
|
||||
|
||||
# TODO USE ENUM FOR TRANSFER DATA TYPE
|
||||
# type: bpy.props.EnumProperty(
|
||||
# name="TD TYPE",
|
||||
# items=[("NONE", "None", ""), ("MODEL", "Modeling", ""), ("RIG", "Rigging", "")],
|
||||
# )
|
||||
|
||||
class ASSETOWNERSHIP(bpy.types.PropertyGroup):
|
||||
owner: bpy.props.EnumProperty(
|
||||
name="Transfer Data Owner",
|
||||
items=constants.TASK_LAYER_ITEMS,
|
||||
)
|
||||
type: bpy.props.EnumProperty(
|
||||
name="Transfer Data Type",
|
||||
items=constants.TRANSFER_DATA_TYPES,
|
||||
)
|
||||
id: bpy.props.PointerProperty(type=bpy.types.Object)
|
||||
|
||||
|
||||
classes = (ASSETOWNERSHIP,)
|
||||
|
Loading…
Reference in New Issue
Block a user