Blender Git Loki

Git Commits -> Revision 0d3cf5c

Revision 0d3cf5c by Campbell Barton (master)
February 1, 2011, 12:47 (GMT)
Script to test import operators, so a single command can execute an operator on all files in a directory and optionally save out blend files for inspection.
This comes in handy for testing importers against 100's of files, quickly showing breakages and easier to setup then unit tests.

Example usage:

blender.bin --background --python source/tests/batch_import.py --
--operator="bpy.ops.import_scene.obj"
--path="/data/testfiles/obj"
--match="*.obj"
--start=0 --end=50
--save_path="/tmp/test"


Also found my name was spelt wrong in some places :)

Commit Details:

Full Hash: 0d3cf5c8a68b97dc248b1758e2f5a36d6433c3c1
SVN Revision: 34604
Parent Commit: ffe7bde
Lines Changed: +155, -5

1 Added Path:

/source/tests/batch_import.py (+150, -0) (View)

4 Modified Paths:

/release/scripts/templates/background_job.py (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/makesdna/intern/dna_genfile.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021