Skip to content

Commit c3d4f20

Browse files
authored
Merge pull request #23 from spacek531/create-window
Move panel to tool shelf
2 parents 8fd7244 + 2661e74 commit c3d4f20

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The following programs are necessary:
3030

3131
1. Open an existing file, or create a new file and make sure it's saved in its own folder.
3232
2. Remove any global light sources.
33-
3. In the render properties tab on the right, click "Initialize / Repair" in the "RCT Graphics Helper" section.
33+
3. In the RCT Tools toolbar on the 3D view toolshelf, click "Initialize / Repair" in the "RCT Graphics Helper" section.
3434
4. This will create the lighting rig, and set the correct render settings.
3535
5. More options are now available in the RCT Graphics Helper section. Click the "Render" button to start rendering the scene.
3636
6. In the folder where the Blend file is saved, an "output" folder has been created with the rendered image files.

rct-graphics-helper/rct_graphics_helper_panel.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121

2222
from .models.palette import palette_colors, palette_colors_details
2323

24-
2524
class GraphicsHelperPanel(bpy.types.Panel):
25+
2626
bl_label = "RCT Graphics Helper"
27-
bl_idname = "RENDER_PT_rct_graphics_helper"
28-
bl_space_type = 'PROPERTIES'
29-
bl_region_type = 'WINDOW'
30-
bl_context = "render"
27+
bl_idname = "VIEW3D_PT_rct_graphics_helper"
28+
bl_space_type = 'VIEW_3D'
29+
bl_region_type = 'TOOLS'
30+
bl_category = 'RCT Tools'
3131

3232
def draw(self, context):
3333

0 commit comments

Comments
 (0)