diff options
author | Dalai Felinto <dalai@blender.org> | 2020-06-25 16:46:16 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-06-25 17:33:19 +0300 |
commit | dd9c0dbf5ed5c874d280c0e76ea9b41e5cd81719 (patch) | |
tree | 7aaa1379ab9c65eaaca31977c092033e4933171d /release/scripts/startup | |
parent | 79c2581bfaf0612f44c44cd09533fc8d231a2d49 (diff) |
Experimental Features: Use different "categories" for different features
Right now not all the features available there have the same level of
polishing. So I split the existing options in:
* New Features [Particles Nodes]
* Prototypes [Hair]
* Debugging [Undo]
Differential Revision: https://developer.blender.org/D8121
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 42ae00203f3..599f89a000d 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -2132,19 +2132,39 @@ class USERPREF_PT_experimental_virtual_reality(ExperimentalPanel, Panel): """ -class USERPREF_PT_experimental_system(ExperimentalPanel, Panel): - bl_label = "System" +class USERPREF_PT_experimental_new_features(ExperimentalPanel, Panel): + bl_label = "New Features" def draw(self, context): self._draw_items( context, ( - ({"property": "use_undo_legacy"}, "T60695"), ({"property": "use_new_particle_system"}, "T73324"), + ), + ) + + +class USERPREF_PT_experimental_prototypes(ExperimentalPanel, Panel): + bl_label = "Prototypes" + + def draw(self, context): + self._draw_items( + context, ( ({"property": "use_new_hair_type"}, "T68981"), ), ) +class USERPREF_PT_experimental_debugging(ExperimentalPanel, Panel): + bl_label = "Debugging" + + def draw(self, context): + self._draw_items( + context, ( + ({"property": "use_undo_legacy"}, "T60695"), + ), + ) + + # ----------------------------------------------------------------------------- # Class Registration @@ -2235,7 +2255,9 @@ classes = ( # Popovers. USERPREF_PT_ndof_settings, - USERPREF_PT_experimental_system, + USERPREF_PT_experimental_new_features, + USERPREF_PT_experimental_prototypes, + USERPREF_PT_experimental_debugging, # Add dynamically generated editor theme panels last, # so they show up last in the theme section. |