diff options
author | William Reynish <billrey@me.com> | 2019-03-18 17:56:54 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-03-18 17:56:54 +0300 |
commit | d1f04658d855a6fdf038aa80ad656228077b0d46 (patch) | |
tree | 9ee05ce220ba5758b2841dbe0fce5bd0488d16a0 /intern/cycles/blender/addon | |
parent | 64906260771589ca6192547631b0c961c03af2bc (diff) |
Fix: Cycles Subdivisions panel was showing, even when using Eevee
Diffstat (limited to 'intern/cycles/blender/addon')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index a3ee5533fe7..4b0e179a388 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -313,7 +313,7 @@ class CYCLES_RENDER_PT_subdivision(CyclesButtonsPanel, Panel): @classmethod def poll(self, context): - return context.scene.cycles.feature_set == 'EXPERIMENTAL' + return (context.scene.render.engine == 'CYCLES') and (context.scene.cycles.feature_set == 'EXPERIMENTAL') def draw(self, context): layout = self.layout |