27 lines
531 B
Python
Executable File
27 lines
531 B
Python
Executable File
import bpy
|
|
|
|
from bpy.types import Panel
|
|
|
|
|
|
class RT_PT_gp_node_ui(Panel):
|
|
bl_space_type = "NODE_EDITOR"
|
|
bl_region_type = "UI"
|
|
bl_category = "Render" # Wrangler
|
|
bl_label = "Render Toolbox"
|
|
|
|
def draw(self, context):
|
|
layout = self.layout
|
|
layout.operator("rt.create_output_layers", icon="NODE")
|
|
|
|
|
|
classes = (
|
|
RT_PT_gp_node_ui,
|
|
)
|
|
|
|
def register():
|
|
for cls in classes:
|
|
bpy.utils.register_class(cls)
|
|
|
|
def unregister():
|
|
for cls in reversed(classes):
|
|
bpy.utils.unregister_class(cls) |