Asset Pipeline v2 #145
@ -10,7 +10,7 @@ avaliable task layers from the task_layer_defaults.json file that needs to be cr
|
||||
class AssetTransferData(bpy.types.PropertyGroup):
|
||||
"""Properties to track transferable data on an object"""
|
||||
|
||||
owner: bpy.props.StringProperty()
|
||||
owner: bpy.props.StringProperty(name="Owner", default="NONE")
|
||||
type: bpy.props.EnumProperty(
|
||||
name="Transfer Data Type",
|
||||
items=constants.TRANSFER_DATA_TYPES_ENUM_ITEMS,
|
||||
@ -21,7 +21,7 @@ class AssetTransferDataTemp(bpy.types.PropertyGroup):
|
||||
"""Class used when finding new ownership data so it can be drawn
|
||||
with the same method as the existing ownership data from ASSET_TRANSFER_DATA"""
|
||||
|
||||
owner: bpy.props.StringProperty()
|
||||
owner: bpy.props.StringProperty(name="Owner", default="NONE")
|
||||
type: bpy.props.EnumProperty(
|
||||
name="Transfer Data Type",
|
||||
items=constants.TRANSFER_DATA_TYPES_ENUM_ITEMS,
|
||||
@ -92,10 +92,7 @@ def register():
|
||||
type=AssetTransferData
|
||||
)
|
||||
bpy.types.Scene.asset_pipeline = bpy.props.PointerProperty(type=AssetPipeline)
|
||||
bpy.types.ID.asset_id_owner = bpy.props.EnumProperty(
|
||||
name="ID Owner",
|
||||
items=constants.TASK_LAYER_TYPES_ENUM_ITEMS,
|
||||
)
|
||||
bpy.types.ID.asset_id_owner = bpy.props.StringProperty(name="Owner", default="NONE")
|
||||
|
||||
|
||||
def unregister():
|
||||
|
Loading…
Reference in New Issue
Block a user