when using blender as a python module, force factory-startup

This commit is contained in:
Campbell Barton
2013-02-07 02:50:35 +00:00
parent 07a3ebbd38
commit 0152d11e01

View File

@@ -1478,6 +1478,7 @@ int main(int argc, const char **argv)
signal(SIGSEGV, blender_crash_handler);
}
#else
G.factory_startup = true; /* using preferences or user startup makes no sense for py-as-module */
(void)syshandle;
#endif