diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-16 17:43:41 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-17 14:38:42 +0300 |
commit | b526221315e5734306ef3bf5e520529d7f9e24a2 (patch) | |
tree | 112199cadf35036f3b6452ded533ec26d146e4ff /release/scripts/startup/bl_ui/properties_render.py | |
parent | b23af112d2439a8d6b993fbf7daa3b527cfb48c8 (diff) |
Eevee: Remove the Subsurface Render checkbox
This is to simplify the usage of SSS.
Now it automatically detect if there is any SSS material in the view and
allocate the needed buffer if any.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 18ef034af32..fbf247b2858 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -316,11 +316,6 @@ class RENDER_PT_eevee_subsurface_scattering(RenderButtonsPanel, Panel): def poll(cls, context): return (context.engine in cls.COMPAT_ENGINES) - def draw_header(self, context): - scene = context.scene - props = scene.eevee - self.layout.prop(props, "use_sss", text="") - def draw(self, context): layout = self.layout layout.use_property_split = True @@ -328,8 +323,6 @@ class RENDER_PT_eevee_subsurface_scattering(RenderButtonsPanel, Panel): scene = context.scene props = scene.eevee - layout.active = props.use_sss - col = layout.column() col.prop(props, "sss_samples") col.prop(props, "sss_jitter_threshold") |