diff options
author | Thomas Dinges <blender@dingto.org> | 2011-11-20 02:59:48 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-11-20 02:59:48 +0400 |
commit | 2b1f800e9e01194b30e8622b114e9e2f0d8414a6 (patch) | |
tree | 23039ccf923b6cc5cd48c124fac3d0ffbec2c18b /intern | |
parent | 384ec1769b79d61fcf6c02cc9c6f696ca24d8101 (diff) |
Bugfix for [#29279] Cycles Displacement Panel appears when blender render engine is choosen.
Diffstat (limited to 'intern')
-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 00010bb7463..f3ed3b677fb 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -295,7 +295,7 @@ class Cycles_PT_mesh_displacement(CyclesButtonsPanel, Panel): @classmethod def poll(cls, context): - return CyclesButtonsPanel.poll(context) and context.mesh or context.curve or context.meta_ball + return CyclesButtonsPanel.poll(context) and (context.mesh or context.curve or context.meta_ball) def draw(self, context): layout = self.layout |