Skip to content

Commit

Permalink
feat: add experimental mode toggle to preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed Sep 14, 2022
1 parent c9713bd commit 4a5a4d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ class NDPreferences(AddonPreferences):
default=False,
)

enable_experimental_features: BoolProperty(
name="Experimental Mode",
default=False,
)

recon_poly_solidify: BoolProperty(
name="Automatically run Solidify after Recon Poly",
default=False,
Expand Down Expand Up @@ -472,7 +477,8 @@ def draw_general(self, box):
["The default angle to use for bevel and smoothing operations", "default_smoothing_angle", True],
["Set a path for a custom screw heads .blend file", "custom_screw_heads_path", False],
["Automatically check if addon is up to date when Blender starts", "enable_update_check", False],
["Enable deprecated features for short term backwards compatibility", "enable_deprecated_features", False]]
["Enable deprecated features for short term backwards compatibility", "enable_deprecated_features", False],
["Enable experimental features. Use at your own risk!", "enable_experimental_features", False]]

for label, prop, expanded in general_boxed_prefs:
pref_box = box.box()
Expand Down

0 comments on commit 4a5a4d1

Please sign in to comment.