Skip to content

Commit 53ee9b1

Browse files
committed
Fix add-on prefs not showing
1 parent c154465 commit 53ee9b1

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
rct-graphics-helper.zip
12

23
# Blender
34
*.blend1

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ The following programs are necessary:
1111
1. Download the [latest release](https://github.com/oli414/Blender-RCT-Graphics/releases) of the RCT Graphics Helper Blender add-on.
1212
2. In Blender, click on File > User Preferences > Add-ons > "Install Add-on from File..."
1313
3. In the file explorer window, select the downloaded RCT Graphics Helper zip file.
14-
4. The plugin should now show up in the list of add-ons as "RCT Graphics Helper"
14+
4. Enable the add-on by clicking the checkbox to the left of "RendeR: RCT Graphics Helper"
1515
5. Expand the RCT Graphics Helper add-on settings, and set the "OpenRCT2 Object Folder" path to the location of the /openrct2/object folder.
16+
6. Click "Save User Settings".
1617

1718
# Usage
1819

rct-graphics-helper/processors/render_task_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def _generate_parkobj(self, task, info, copy_to_objects):
260260
if not copy_to_objects:
261261
return
262262

263-
addon_prefs = task.context.user_preferences.addons["rct_graphics_helper"].preferences
263+
addon_prefs = task.context.user_preferences.addons["rct-graphics-helper"].preferences
264264

265265
target_dir = os.path.abspath(bpy.path.abspath(
266266
addon_prefs.orct2_object_directory))

rct-graphics-helper/properties/preferences.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
class RCTGraphicsHelperPreferences(AddonPreferences):
15-
bl_idname = "rct_graphics_helper"
15+
bl_idname = "rct-graphics-helper"
1616

1717
orct2_object_directory = bpy.props.StringProperty(
1818
name="OpenRCT2 Object Folder",

0 commit comments

Comments
 (0)