Asset Pipeline v2 #145
@ -35,6 +35,12 @@ class ASSETPIPE_sync(bpy.types.Panel):
|
||||
"assetpipe.sync_with_publish", text="Pull from Publish", icon="TRIA_DOWN"
|
||||
).pull = True
|
||||
|
||||
if asset_pipe.is_asset_pipeline_file and asset_pipe.task_layer_name == "NONE":
|
||||
asset_pipe = context.scene.asset_pipeline
|
||||
box = layout.box()
|
||||
box.label(text="Published File Settings")
|
||||
box.prop(asset_pipe, "is_depreciated")
|
||||
|
||||
|
||||
class ASSETPIPE_ownership_inspector(bpy.types.Panel):
|
||||
bl_space_type = 'VIEW_3D'
|
||||
@ -60,13 +66,6 @@ class ASSETPIPE_ownership_inspector(bpy.types.Panel):
|
||||
layout.label(text=f"{obj.name}: '{owner}'", icon="OBJECT_DATA")
|
||||
transfer_ui.draw_transfer_data(transfer_data, layout)
|
||||
|
||||
task_layer_name = core.get_task_layer_name_from_file()
|
||||
if task_layer_name not in constants.TASK_LAYER_KEYS:
|
||||
asset_pipe = context.scene.asset_pipeline
|
||||
box = layout.box()
|
||||
box.label(text="Published File Settings")
|
||||
box.prop(asset_pipe, "is_depreciated")
|
||||
|
||||
|
||||
classes = (
|
||||
ASSETPIPE_sync,
|
||||
|
Loading…
Reference in New Issue
Block a user