diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-01 15:47:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-01 15:47:50 +0300 |
commit | 0d3cf5c8a68b97dc248b1758e2f5a36d6433c3c1 (patch) | |
tree | 568f26ada61a582cbc182c2b22b82a8a459808a8 /source/blender/editors | |
parent | ffe7bde02c5725993e9c1986bbc8a83174adbbb8 (diff) |
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 :)
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 3e359101f3a..9e6f8f7f078 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -7150,7 +7150,7 @@ static int sort_faces_exec(bContext *C, wmOperator *op) if (!v3d) return OPERATOR_CANCELLED; /* This operator work in Object Mode, not in edit mode. - * After talk with Cambell we agree that there is no point to port this to EditMesh right now. + * After talk with Campbell we agree that there is no point to port this to EditMesh right now. * so for now, we just exit_editmode and enter_editmode at the end of this function. */ ED_object_exit_editmode(C, EM_FREEDATA); |