forked from bartvdbraak/blender
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.
This commit is contained in:
parent
af6636bbed
commit
1ce5978805
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user