diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-04 12:49:56 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-08-04 12:49:56 +0400 |
commit | 7a5d6a5eb1bf3764f80cbf1c463d2252e1724ba5 (patch) | |
tree | 7f0d62031d1a5759cec051d29ba0184c6ae62165 /release/scripts/ui/properties_material.py | |
parent | d50cc7826fe50e1e29a2501d2b70c75360a0534e (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.py | 2 |
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 |