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 d14d14a2df - Show all commits

View File

@ -4,6 +4,7 @@ from pathlib import Path
from .merge.transfer_data.transfer_ui import draw_transfer_data
from .merge.task_layer import draw_task_layer_selection
from .config import verify_json_data
from .prefs import get_addon_prefs
from . import constants
@ -76,6 +77,11 @@ class ASSETPIPE_PT_sync_advanced(bpy.types.Panel):
bl_parent_id = "ASSETPIPE_PT_sync"
bl_options = {'DEFAULT_CLOSED'}
@classmethod
def poll(cls, context: bpy.types.Context) -> bool:
prefs = get_addon_prefs()
return prefs.is_advanced_mode
def draw(self, context: bpy.types.Context) -> None:
layout = self.layout
box = layout.box()