Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-10-16 21:54:12 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-10-16 21:54:12 +0400
commit1ce5978805a7231fee57a16609dc4569316f1e23 (patch)
tree6b38ae5b63fa3363ddda5352fdfb3f3613413ae6 /release
parentaf6636bbedac5ae36bfa00b934817c75799fe359 (diff)
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.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 5a249159d86..4b954e81ee1 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1298,10 +1298,10 @@ class WM_OT_blenderplayer_start(Operator):
# 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