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 10 additions and 1 deletions
Showing only changes of commit cb9b910bc0 - Show all commits

View File

@ -7,6 +7,11 @@ avaliable task layers from the task_layer_defaults.json file that needs to be cr
class ASSET_STATUS(bpy.types.PropertyGroup):
is_asset_pipeline_file: bpy.props.BoolProperty(
name="Asset Pipeline File",
description="Asset Pipeline Files are used in the asset pipeline, if file is not asset pipeline file user will be prompted to create a new asset",
default=False,
)
is_depreciated: bpy.props.BoolProperty(
name="Depreciated",
description="Depreciated files do not recieve any updates when syncing from a task layer",

View File

@ -8,11 +8,15 @@ class ASSETPIPE_sync(bpy.types.Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'UI'
bl_category = 'Asset Pipe 2'
bl_label = "Sync"
bl_label = "Asset Managment"
def draw(self, context: bpy.types.Context) -> None:
layout = self.layout
status = context.scene.asset_status
if not status.is_asset_pipeline_file:
layout.label(text="Isn't Asset Pipeline File")
# layout.operator("")
return
layout.label(
text=f"Active Task Layer: {context.collection.name.split('.')[-1]}"
)