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:
@@ -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
|
||||
|
Reference in New Issue
Block a user