From 7f359dd910e6439ef84bfc374ef085629214c5bd Mon Sep 17 00:00:00 2001 From: pullusb Date: Tue, 10 Jan 2023 15:41:32 +0100 Subject: [PATCH] update comment --- OP_auto_build.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/OP_auto_build.py b/OP_auto_build.py index de6cf4a..548ae17 100644 --- a/OP_auto_build.py +++ b/OP_auto_build.py @@ -63,10 +63,10 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator): def execute(self, context): print('-- Auto-build Render scene --\n') - ## TODO: Add colors to layers (specified in ENV or hardcoded for now...) - ## Option: Maybe find a way to create a color from prefix hash ? (always give unique color with same prefix on other project!) - prefix_to_render = ['CO', 'CU', 'FX', 'TO', 'MA'] # TODO : add to preferences / environment var + ## Prefix Filter + ## TODO : add to preferences / environment var + prefix_to_render = ['CO', 'CU', 'FX', 'TO', 'MA'] render_scn = bpy.data.scenes.get('Render') if render_scn: @@ -97,7 +97,8 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator): for o in ob_list: print(f' - {o.name}') - # Set layers colors (skip if colors were already set ?) + ## Set layers colors (skip if colors were already set ?) + ## Option: Maybe find a way to create a color from prefix hash ? (always give unique color with same prefix on other project!) fn.set_layer_colors(skip_if_colored=True) ## Trigger rename lowercase