[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60804] trunk/blender/release/scripts/ startup/bl_operators/wm.py: BGE: Fix to allow render options such display framerate and profile to work

Mitchell Stokes mogurijin at gmail.com
Wed Oct 16 19:54:12 CEST 2013


Revision: 60804
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60804
Author:   moguri
Date:     2013-10-16 17:54:12 +0000 (Wed, 16 Oct 2013)
Log Message:
-----------
BGE: Fix to allow render options such display framerate and profile to work
when launching the Blenderplayer from Blender.

This bug was reported and fixed by SolarLune.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_operators/wm.py

Modified: trunk/blender/release/scripts/startup/bl_operators/wm.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_operators/wm.py	2013-10-16 17:48:33 UTC (rev 60803)
+++ trunk/blender/release/scripts/startup/bl_operators/wm.py	2013-10-16 17:54:12 UTC (rev 60804)
@@ -1298,10 +1298,10 @@
 
         # handle some UI options as command line arguments
         args.extend([
-            "-g", "show_framerate=%d" % gs.show_framerate_profile,
-            "-g", "show_profile=%d" % gs.show_framerate_profile,
-            "-g", "show_properties=%d" % gs.show_debug_properties,
-            "-g", "ignore_deprecation_warnings=%d" % (not gs.use_deprecation_warnings),
+            "-g", "show_framerate", "=", "%d" % gs.show_framerate_profile,
+            "-g", "show_profile", "=", "%d" % gs.show_framerate_profile,
+            "-g", "show_properties", "=", "%d" % gs.show_debug_properties,
+            "-g", "ignore_deprecation_warnings", "=", "%d" % (not gs.use_deprecation_warnings),
             ])
 
         # finish the call with the path to the blend file




More information about the Bf-blender-cvs mailing list