pass -noaudio when running blender for various utilities - doc-gen and tests.
This commit is contained in:
@@ -8,7 +8,7 @@ Typical line in the input file (elements in [] are optional).
|
||||
[comment *] ToolSettings.snap_align_rotation -> use_snap_align_rotation: boolean [Align rotation with the snapping target]
|
||||
|
||||
Geterate output format from blender run this:
|
||||
./blender.bin --background --python ./release/scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt
|
||||
./blender.bin --background -noaudio --python ./release/scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt
|
||||
"""
|
||||
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
cd ../../../../
|
||||
./blender.bin --background --python ./release/scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt
|
||||
./blender.bin --background -noaudio --python ./release/scripts/modules/rna_info.py 2> source/blender/makesrna/rna_cleanup/out.txt
|
||||
cd ./source/blender/makesrna/rna_cleanup/
|
||||
./rna_cleaner.py out.txt
|
||||
./rna_cleaner.py rna_properties.txt
|
||||
|
@@ -43,7 +43,7 @@ else()
|
||||
endif()
|
||||
|
||||
# for testing with valgrind prefix: valgrind --track-origins=yes --error-limit=no
|
||||
set(TEST_BLENDER_EXE ${TEST_BLENDER_EXE} --background --factory-startup --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts)
|
||||
set(TEST_BLENDER_EXE ${TEST_BLENDER_EXE} --background -noaudio --factory-startup --env-system-scripts ${CMAKE_SOURCE_DIR}/release/scripts)
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
@@ -19,7 +19,7 @@
|
||||
# <pep8 compliant>
|
||||
|
||||
# Used for generating API diff's between releases
|
||||
# ./blender.bin --background --python release/test/rna_info_dump.py
|
||||
# ./blender.bin --background -noaudio --python release/test/rna_info_dump.py
|
||||
|
||||
import bpy
|
||||
|
||||
|
Reference in New Issue
Block a user