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 613d32b08b - Show all commits

View File

@ -2,6 +2,7 @@ import bpy
from . import core, constants
from .transfer_data import transfer_ui
from pathlib import Path
class ASSETPIPE_sync(bpy.types.Panel):
@ -20,9 +21,11 @@ class ASSETPIPE_sync(bpy.types.Panel):
layout.operator("assetpipe.create_new_asset")
# layout.operator("")
return
layout.label(
text=f"Active Task Layer: {context.collection.name.split('.')[-1]}"
)
if not Path(bpy.data.filepath).exists:
layout.label(text="File is not saved", icon="ERROR")
return
layout.prop(asset_pipe, "asset_collection", text="Asset")
layout.label(text="Test UI")