Revision: 37157
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37157
Author:   kupoman
Date:     2011-06-04 02:31:23 +0000 (Sat, 04 Jun 2011)
Log Message:
-----------
Making the bake options available in Blender Game

Modified Paths:
--------------
    
branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_render.py

Modified: 
branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_render.py
===================================================================
--- 
branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_render.py   
    2011-06-04 02:23:17 UTC (rev 37156)
+++ 
branches/soc-2011-cucumber/release/scripts/startup/bl_ui/properties_render.py   
    2011-06-04 02:31:23 UTC (rev 37157)
@@ -50,7 +50,7 @@
     @classmethod
     def poll(cls, context):
         rd = context.scene.render
-        return (context.scene and rd.use_game_engine is False) and (rd.engine 
in cls.COMPAT_ENGINES)
+        return context.scene and (rd.engine in cls.COMPAT_ENGINES)
 
 
 class RENDER_PT_render(RenderButtonsPanel, bpy.types.Panel):
@@ -602,7 +602,7 @@
 class RENDER_PT_bake(RenderButtonsPanel, bpy.types.Panel):
     bl_label = "Bake"
     bl_options = {'DEFAULT_CLOSED'}
-    COMPAT_ENGINES = {'BLENDER_RENDER'}
+    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
 
     def draw(self, context):
         layout = self.layout

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to