projects
/
blender.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
384ec17
)
Bugfix for [#29279] Cycles Displacement Panel appears when blender render engine...
author
Thomas Dinges <blender@dingto.org>
Sat, 19 Nov 2011 22:59:48 +0000
(22:59 +0000)
committer
Thomas Dinges <blender@dingto.org>
Sat, 19 Nov 2011 22:59:48 +0000
(22:59 +0000)
intern/cycles/blender/addon/ui.py
patch
|
blob
|
history
diff --git
a/intern/cycles/blender/addon/ui.py
b/intern/cycles/blender/addon/ui.py
index 00010bb7463f346b7e73a1c5913cccb159107e77..f3ed3b677fb5f35055181c615aef2e4b16781cdd 100644
(file)
--- 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):
@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
def draw(self, context):
layout = self.layout