diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-12-12 14:47:45 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-12-12 16:12:07 +0300 |
commit | afcdea3961c2cc9a63c2e8613f8bbfa0ba49f583 (patch) | |
tree | 36cdd7d8426076bca54127f6b4c6b64605b8f863 /release | |
parent | 31a3b570379c073defb4227f7796603be2dc8b51 (diff) |
UI: Remove User Preference "Enable All Experimental Features"
Users should be able to know explicitly what they are testing.
By having them all enabled we run into a scenario where a new
experimental feature may have been introduced, and the user
is now using it without being even aware of that.
Differential Revision: https://developer.blender.org/D6404
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 386a5a184ca..bf39cbda391 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -2176,28 +2176,12 @@ class ExperimentalPanel: self.draw_props(context, layout) -class USERPREF_PT_experimental_all(ExperimentalPanel, Panel): - bl_label = "All" - bl_options = {'HIDE_HEADER'} - - def draw_props(self, context, layout): - prefs = context.preferences - experimental = prefs.experimental - - col = layout.column() - col.prop(experimental, "use_experimental_all") - - # For the other settings create new panels - # and make sure they are disabled if use_experimental_all is True - - class USERPREF_PT_experimental_ui(ExperimentalPanel, Panel): bl_label = "User Interface" def draw_props(self, context, layout): prefs = context.preferences experimental = prefs.experimental - layout.active = not experimental.use_experimental_all task = "T66304" split = layout.split(factor=0.66) @@ -2217,7 +2201,6 @@ class USERPREF_PT_experimental_virtual_reality(ExperimentalPanel, Panel): def draw_props(self, context, layout): prefs = context.preferences experimental = prefs.experimental - layout.active = not experimental.use_experimental_all task = "T71347" split = layout.split(factor=0.66) @@ -2316,7 +2299,6 @@ classes = ( USERPREF_PT_studiolight_matcaps, USERPREF_PT_studiolight_world, - USERPREF_PT_experimental_all, USERPREF_PT_experimental_ui, # Popovers. |