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 2f838a9b41 - Show all commits

View File

@ -1,6 +1,6 @@
import bpy
from ... import constants
from ..task_layer import get_local_task_layers
from ..task_layer import draw_task_layer_selection
def draw_transfer_data_type(
@ -14,27 +14,11 @@ def draw_transfer_data_type(
box.label(text=name, icon=icon)
scene = bpy.context.scene
for transfer_data_item in transfer_data:
row = layout.row()
row = box.row()
row.label(text=f"{transfer_data_item.name}: ")
if transfer_data_item.owner not in [
tl.name for tl in scene.asset_pipeline.local_task_layers
]:
row.enabled = False
row.prop_search(
transfer_data_item,
'owner',
scene.asset_pipeline,
'all_task_layers',
text="",
)
else:
row.prop_search(
transfer_data_item,
'owner',
scene.asset_pipeline,
'local_task_layers',
text="",
)
draw_task_layer_selection(
row, scene, transfer_data_item, transfer_data_item.owner, "owner"
)
def draw_transfer_data(