new command line option '--factory-startup' to skip reading startup.blend. useful for testing with a predictable environment.

also commented python benchmark prints on exit, can enable when profiling later.
This commit is contained in:
2011-01-19 09:13:24 +00:00
parent dddb9aa30f
commit 161cbed9b5
9 changed files with 36 additions and 18 deletions

View File

@@ -62,8 +62,7 @@
static int py_call_level= 0;
BPy_StructRNA *bpy_context_module= NULL; /* for fast access */
// only for tests
#define TIME_PY_RUN
// #define TIME_PY_RUN // simple python tests. prints on exit.
#ifdef TIME_PY_RUN
#include "PIL_time.h"