diff options
author | Dalai Felinto <dalai@blender.org> | 2020-08-18 15:55:44 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-08-18 15:55:44 +0300 |
commit | 8ab0d0e3990881bf66e9cdd2f62cd2a464015496 (patch) | |
tree | 11dd79c2b6b648eddbb9c4fffe5d66152db52134 /release | |
parent | c526a34fc2fe0d51a81837bd49dbc0b78c8b5224 (diff) | |
parent | 83e3d25bcae37df0139bb93b85d7ae5bf3da553b (diff) |
Merge remote-tracking branch 'origin/blender-v2.90-release'
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 03f85578b6e..9548de20752 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -2118,6 +2118,10 @@ class ExperimentalPanel: url_prefix = "https://developer.blender.org/" + @classmethod + def poll(cls, context): + return bpy.app.version_cycle == 'alpha' + def _draw_items(self, context, items): prefs = context.preferences experimental = prefs.experimental @@ -2178,6 +2182,12 @@ class USERPREF_PT_experimental_prototypes(ExperimentalPanel, Panel): class USERPREF_PT_experimental_debugging(ExperimentalPanel, Panel): bl_label = "Debugging" + @classmethod + def poll(cls, context): + # Unlike the other experimental panels, the debugging one is always visible + # even in beta or release. + return True + def draw(self, context): self._draw_items( context, ( |