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>2010-08-04 12:49:56 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-08-04 12:49:56 +0400
commit7a5d6a5eb1bf3764f80cbf1c463d2252e1724ba5 (patch)
tree7f0d62031d1a5759cec051d29ba0184c6ae62165 /release/scripts/ui/properties_material.py
parentd50cc7826fe50e1e29a2501d2b70c75360a0534e (diff)
2.5: Hide options panel for halo materials, none of the settings here
should have an effect on halo's currently, and they share some of the same flag bits as other halo options, which makes it even more confusing.
Diffstat (limited to 'release/scripts/ui/properties_material.py')
-rw-r--r--release/scripts/ui/properties_material.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py
index 31dc23563bd..a464249b3b0 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -264,7 +264,7 @@ class MATERIAL_PT_options(MaterialButtonsPanel, bpy.types.Panel):
def poll(self, context):
mat = active_node_mat(context.material)
engine = context.scene.render.engine
- return mat and (mat.type in ('SURFACE', 'WIRE', 'HALO')) and (engine in self.COMPAT_ENGINES)
+ return mat and (mat.type in ('SURFACE', 'WIRE')) and (engine in self.COMPAT_ENGINES)
def draw(self, context):
layout = self.layout