diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-08-19 21:25:36 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-08-19 21:25:36 +0300 |
commit | b831accc01a5790b6112f70e8bb5d6b3a8e8ab4d (patch) | |
tree | 2d823f5739c5ad9c408e15f4041a14359e031105 /release/scripts/startup/bl_ui/properties_render.py | |
parent | c2c4420f89750309fdf267ba23a5f43b5e366e16 (diff) |
Workbench: hide background option for OpenGL render
When OpenGL renderer is selected the option for background colors are
displayed, but ignored. For now we hide this option as it makes no sense
to have a viewport color option without viewport or render a 'final'
with a theme color.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 2b91eec67c4..af2b3faafa7 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -853,7 +853,7 @@ class RENDER_PT_opengl_color(RenderButtonsPanel, Panel): return (context.engine in cls.COMPAT_ENGINES) def draw(self, context): - VIEW3D_PT_shading_color.draw(self, context) + VIEW3D_PT_shading_color._draw_color_type(self, context) class RENDER_PT_opengl_options(RenderButtonsPanel, Panel): |