[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31030] trunk/blender/release/scripts/ui/ properties_material.py: 2.5: Hide options panel for halo materials, none of the settings here

Brecht Van Lommel brecht at blender.org
Wed Aug 4 10:49:57 CEST 2010


Revision: 31030
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31030
Author:   blendix
Date:     2010-08-04 10:49:56 +0200 (Wed, 04 Aug 2010)

Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/properties_material.py

Modified: trunk/blender/release/scripts/ui/properties_material.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_material.py	2010-08-04 08:42:18 UTC (rev 31029)
+++ trunk/blender/release/scripts/ui/properties_material.py	2010-08-04 08:49:56 UTC (rev 31030)
@@ -264,7 +264,7 @@
     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





More information about the Bf-blender-cvs mailing list