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.
This commit is contained in:
Brecht Van Lommel
2010-08-04 08:49:56 +00:00
parent d50cc7826f
commit 7a5d6a5eb1

View File

@@ -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