Asset Pipeline v2 #145
@ -12,6 +12,7 @@ class ASSET_STATUS(bpy.types.PropertyGroup):
|
|||||||
description="Depreciated files do not recieve any updates when syncing from a task layer",
|
description="Depreciated files do not recieve any updates when syncing from a task layer",
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
|
asset_collection: bpy.props.PointerProperty(type=bpy.types.Collection)
|
||||||
|
|
||||||
|
|
||||||
from . import constants
|
from . import constants
|
||||||
|
@ -12,9 +12,11 @@ class ASSETPIPE_sync(bpy.types.Panel):
|
|||||||
|
|
||||||
def draw(self, context: bpy.types.Context) -> None:
|
def draw(self, context: bpy.types.Context) -> None:
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
status = context.scene.asset_status
|
||||||
layout.label(
|
layout.label(
|
||||||
text=f"Active Task Layer: {context.collection.name.split('.')[-1]}"
|
text=f"Active Task Layer: {context.collection.name.split('.')[-1]}"
|
||||||
)
|
)
|
||||||
|
layout.prop(status, "asset_collection", text="Asset")
|
||||||
layout.label(text="Test UI")
|
layout.label(text="Test UI")
|
||||||
layout.operator("assetpipe.publish_new_version")
|
layout.operator("assetpipe.publish_new_version")
|
||||||
layout.operator("assetpipe.sync_with_publish", text="Update Ownership")
|
layout.operator("assetpipe.sync_with_publish", text="Update Ownership")
|
||||||
|
Loading…
Reference in New Issue
Block a user