[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31277] branches/soc-2010-moguri-2/release /scripts/ui/properties_material.py: Only have the Custom Shader panel show up when the Render Engine is set to Blender Game .

Mitchell Stokes mogurijin at gmail.com
Thu Aug 12 09:22:34 CEST 2010


Revision: 31277
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31277
Author:   moguri
Date:     2010-08-12 09:22:33 +0200 (Thu, 12 Aug 2010)

Log Message:
-----------
Only have the Custom Shader panel show up when the Render Engine is set to Blender Game.

Modified Paths:
--------------
    branches/soc-2010-moguri-2/release/scripts/ui/properties_material.py

Modified: branches/soc-2010-moguri-2/release/scripts/ui/properties_material.py
===================================================================
--- branches/soc-2010-moguri-2/release/scripts/ui/properties_material.py	2010-08-12 06:43:39 UTC (rev 31276)
+++ branches/soc-2010-moguri-2/release/scripts/ui/properties_material.py	2010-08-12 07:22:33 UTC (rev 31277)
@@ -745,7 +745,7 @@
 
 class MATERIAL_PT_shaders(MaterialButtonsPanel, bpy.types.Panel):
     bl_label = "Custom Shaders"
-    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
+    COMPAT_ENGINES = {'BLENDER_GAME'}
 
     @staticmethod
     def poll(context):





More information about the Bf-blender-cvs mailing list