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.
2 changed files with 9 additions and 7 deletions
Showing only changes of commit f09d9534ba - Show all commits

View File

@ -69,20 +69,20 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
def draw(self, context: bpy.types.Context):
layout = self.layout
ownership = context.scene.temp_transfer_data_ownership
row = layout.row()
if self.push:
row.prop(self, "pull")
row.prop(self, "save")
if self._new_transfer_data:
layout.label(text="New Transfer Data will be Pushed to Publish")
else:
if len(ownership) == 0:
layout.label(text="No New Transfer Data found")
# TODO re-use transfer UI here
for key in constants.TRANSFER_DATA_KEYS:
self.draw_transfer_data_items(layout, key)
else:
layout.label(text="New Transfer Data will be Pushed to Publish")
# TODO SORT PER OBJECT AND DRAW FOR EACH OBJ
# TODO Store ownership in self for easier access
transfer_ui.draw_transfer_data(ownership, layout)
def execute(self, context: bpy.types.Context):
# Find current task Layer

View File

@ -2,6 +2,8 @@ from .. import constants, core
def draw_transfer_data_type(layout, items):
if items == []:
return
name = core.get_enum_item(constants.TRANSFER_DATA_TYPES, items[0].type)[1]
box = layout.box()
box.label(text=name, icon=items[0].type)