Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-07 06:50:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-07 06:50:35 +0400
commit0152d11e0116251b3ac91cec85141988bae938ec (patch)
tree521d2bde2829426824c83529ddf1728828f5dc8d /source/creator
parent07a3ebbd38650223f2a3ea06cf5ff778bdb5662a (diff)
when using blender as a python module, force factory-startup
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 0efbc2531d5..3260f0c3976 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -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