add template in create output path base node
templates for slot are in code but disabled, not useful in the end
This commit is contained in:
@@ -3,7 +3,7 @@ import bpy
|
||||
from bpy.types import Panel
|
||||
|
||||
|
||||
class RT_PT_gp_node_ui(Panel):
|
||||
class RT_PT_render_toolbox_ui(Panel):
|
||||
bl_space_type = "NODE_EDITOR"
|
||||
bl_region_type = "UI"
|
||||
bl_category = "Render" # Wrangler
|
||||
@@ -14,18 +14,59 @@ class RT_PT_gp_node_ui(Panel):
|
||||
layout.operator("rt.create_output_layers", icon="NODE")
|
||||
layout.operator("rt.outputs_search_and_replace", text='Search and replace outputs', icon="BORDERMOVE")
|
||||
|
||||
layout.separator()
|
||||
layout.label(text="Visibily Checks:")
|
||||
class RT_PT_visibility_check(Panel):
|
||||
bl_space_type = "NODE_EDITOR"
|
||||
bl_region_type = "UI"
|
||||
bl_category = "Render" # Wrangler
|
||||
bl_label = "Visibility Checks"
|
||||
# bl_parent_id = "RT_PT_render_toolbox_ui"
|
||||
# bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
# layout.label(text="Visibily Checks:")
|
||||
layout.operator("rt.list_object_visibility_conflicts", icon="OBJECT_DATAMODE")
|
||||
layout.operator("rt.list_viewport_render_visibility", text="List Viewport Vs Render Visibility", icon="OBJECT_DATAMODE")
|
||||
|
||||
layout.operator("rt.list_modifier_visibility", text="List Modifiers Visibility Conflicts", icon="MODIFIER")
|
||||
|
||||
layout.operator("rt.list_collection_visibility_conflicts", text="List Collections Visibility Conflicts", icon="OUTLINER_COLLECTION")
|
||||
|
||||
# layout.separator()
|
||||
# layout.operator("rt.list_object_affected_by_simplify", text="List Object Affected By Simplify", icon="MOD_SIMPLIFY")
|
||||
|
||||
|
||||
## Unused, only exposed in Create output panel
|
||||
class RT_PT_output_template(Panel):
|
||||
bl_space_type = "NODE_EDITOR"
|
||||
bl_region_type = "UI"
|
||||
bl_category = "Render" # Wrangler
|
||||
bl_label = "File Output Templates"
|
||||
bl_parent_id = "RT_PT_render_toolbox_ui"
|
||||
# bl_options = {'DEFAULT_CLOSED'}
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
settings = context.scene.render_toolbox
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.label(text='Single file:')
|
||||
col.prop(settings, "default_base_path", text="Base Path")
|
||||
col.prop(settings, "default_file_slot", text="File Slot")
|
||||
|
||||
col.separator()
|
||||
col = layout.column(align=True)
|
||||
col.label(text='Multilayers:')
|
||||
col.prop(settings, "default_multilayer_base_path", text="Base Path")
|
||||
col.prop(settings, "default_multilayer_name", text="Layer Name")
|
||||
|
||||
## Handle separate tech passes names ?
|
||||
|
||||
|
||||
classes = (
|
||||
RT_PT_gp_node_ui,
|
||||
RT_PT_render_toolbox_ui,
|
||||
# RT_PT_output_template,
|
||||
RT_PT_visibility_check,
|
||||
)
|
||||
|
||||
def register():
|
||||
|
||||
Reference in New Issue
Block a user