Asset Pipeline v2 #145
@ -24,16 +24,17 @@ class ASSETPIPE_sync(bpy.types.Panel):
|
||||
)
|
||||
layout.prop(asset_pipe, "asset_collection", text="Asset")
|
||||
layout.label(text="Test UI")
|
||||
layout.operator("assetpipe.publish_new_version")
|
||||
layout.operator(
|
||||
"assetpipe.sync_with_publish", text="Update Ownership"
|
||||
).pull = False
|
||||
|
||||
# layout.operator(
|
||||
# "assetpipe.sync_with_publish", text="Update Ownership"
|
||||
# ).pull = False
|
||||
layout.operator(
|
||||
"assetpipe.sync_with_publish", text="Push to Publish", icon="TRIA_UP"
|
||||
).push = True
|
||||
layout.operator(
|
||||
"assetpipe.sync_with_publish", text="Pull from Publish", icon="TRIA_DOWN"
|
||||
).pull = True
|
||||
layout.operator("assetpipe.publish_new_version", icon="PLUS")
|
||||
|
||||
if asset_pipe.is_asset_pipeline_file and asset_pipe.task_layer_name == "NONE":
|
||||
asset_pipe = context.scene.asset_pipeline
|
||||
|
Loading…
Reference in New Issue
Block a user