Tests: add --no-window-focus to open window without focus.

This is useful to run OpenGL tests while continuing to do other tasks
without windows constantly popping up in the foreground.
This commit is contained in:
Brecht Van Lommel
2018-04-10 10:32:56 +02:00
parent 09c7bfe42b
commit 2a63e062b0
12 changed files with 76 additions and 12 deletions

View File

@@ -36,6 +36,9 @@ if inside_blender:
def render_file(filepath, output_filepath):
command = (
BLENDER,
"--no-window-focus",
"--window-geometry",
"0", "0", "1024", "768",
"-noaudio",
"--factory-startup",
"--enable-autoexec",