Asset Pipeline v2 #145

Closed
Nick Alberelli wants to merge 431 commits from (deleted):feature/asset-pipeline-v2 into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 2aa7461b6e - Show all commits

View File

@ -11,16 +11,16 @@ class ASSETPIPE_PT_TestUI(bpy.types.Panel):
def draw(self, context: bpy.types.Context) -> None:
layout = self.layout
self.layout.label(
layout.label(
text=f"Active Task Layer: {context.collection.name.split('.')[-1]}"
)
self.layout.label(text="Test UI")
self.layout.operator("assetpipe.publish_new_version")
self.layout.operator("assetpipe.sync_with_publish", text="Update Ownership")
self.layout.operator(
layout.label(text="Test UI")
layout.operator("assetpipe.publish_new_version")
layout.operator("assetpipe.sync_with_publish", text="Update Ownership")
layout.operator(
"assetpipe.sync_with_publish", text="Push to Publish", icon="TRIA_UP"
).push = True
self.layout.operator(
layout.operator(
"assetpipe.sync_with_publish", text="Pull from Publish", icon="TRIA_DOWN"
).pull = True
@ -28,9 +28,9 @@ class ASSETPIPE_PT_TestUI(bpy.types.Panel):
return
obj = context.active_object
ownership = obj.transfer_data_ownership
self.layout.prop(obj, "asset_id_owner")
layout.prop(obj, "asset_id_owner")
for my_item in ownership:
self.layout.label(
layout.label(
text=f"{my_item.name} : {my_item.owner} : {my_item.id_data.name}"
)