Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-11-08 18:10:33 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-11-08 18:10:33 +0400
commita56c6e18a8f3a7d520cdf8efc0b4a17e7ef9e341 (patch)
tree087e25fb2d4c2d364cb8ab6866d00183f61a37c3 /intern/cycles/blender/addon/ui.py
parent64ab4140268498384525e05596ea1f559b7cd3df (diff)
Cycles:
* Disable precompiled cuda binaries, always do at run time * Change preview samples default to 10 * Hide volume panels since they don't do anything yet
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r--intern/cycles/blender/addon/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 58852edce88..dfbfb769170 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -436,7 +436,7 @@ class CyclesWorld_PT_volume(CyclesButtonsPanel, Panel):
@classmethod
def poll(cls, context):
world = context.world
- return world and world.node_tree and CyclesButtonsPanel.poll(context)
+ return False # world and world.node_tree and CyclesButtonsPanel.poll(context)
def draw(self, context):
layout = self.layout
@@ -467,7 +467,7 @@ class CyclesMaterial_PT_volume(CyclesButtonsPanel, Panel):
@classmethod
def poll(cls, context):
mat = context.material
- return mat and mat.node_tree and CyclesButtonsPanel.poll(context)
+ return False #mat and mat.node_tree and CyclesButtonsPanel.poll(context)
def draw(self, context):
layout = self.layout