[Bf-blender-cvs] [dd9c0dbf5ed] master: Experimental Features: Use different "categories" for different features
Dalai Felinto
noreply at git.blender.org
Thu Jun 25 16:33:33 CEST 2020
Commit: dd9c0dbf5ed5c874d280c0e76ea9b41e5cd81719
Author: Dalai Felinto
Date: Thu Jun 25 15:46:16 2020 +0200
Branches: master
https://developer.blender.org/rBdd9c0dbf5ed5c874d280c0e76ea9b41e5cd81719
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
===================================================================
M release/scripts/startup/bl_ui/space_userpref.py
===================================================================
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.
More information about the Bf-blender-cvs
mailing list