Skip to content
Snippets Groups Projects
Commit 55dd43d5 authored by Andrea Gonsek's avatar Andrea Gonsek
Browse files

Add a noaudio option for blender rendering

parent e0a0df2c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
# Check the necessary dependencies for the
# blender build
blendnavipy --background --python-script=$PWD/navipy/scripts/check_blender_versions.py
blendnavipy --background --noaudio --python-script=$PWD/navipy/scripts/check_blender_versions.py
# Make packages in the virtualenv match the one used by blender
pip install --upgrade pip
......
......@@ -83,6 +83,12 @@ def parser_blendnavipy():
default=0,
help=arghelp)
arghelp = 'To run the script without audio'
parser.add_argument('--noaudio',
action='count',
default=0,
help=arghelp)
arghelp = 'To ignore the autocheck of python version'
arghelp += 'and blender'
parser.add_argument('--ignorepycheck',
......@@ -176,6 +182,8 @@ def main():
command = '{} {} '
if args.background:
command += '--background '
if args.noaudio:
command += '-noaudio '
command += '--python {}'
command = command.format(
args.blender_command,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment