diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-11 21:32:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-26 14:19:34 +0300 |
commit | 74c49492c258dfdb92bc243b623f061bca6f3e35 (patch) | |
tree | 14d14e11a943688f4a6d85c78ebef47d1eeeef00 /release | |
parent | d865ad59fc3ae991c871febf130fc5b308f306f7 (diff) |
Cycles: add experimental preference to replace magic debug value 256
Previously you'd have to run with --debug-value 256, now just make it
a preference so the Debug panel can be always available for developers.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index c1502165e44..e5171df597a 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -2114,8 +2114,10 @@ class ExperimentalPanel: split = layout.split(factor=0.66) col = split.split() col.prop(experimental, **prop_keywords) - col = split.split() - col.operator("wm.url_open", text=task, icon='URL').url = self.url_prefix + task + + if task: + col = split.split() + col.operator("wm.url_open", text=task, icon='URL').url = self.url_prefix + task """ # Example panel, leave it here so we always have a template to follow even @@ -2163,6 +2165,7 @@ class USERPREF_PT_experimental_debugging(ExperimentalPanel, Panel): self._draw_items( context, ( ({"property": "use_undo_legacy"}, "T60695"), + ({"property": "use_cycles_debug"}, None), ), ) |