when using blender as a python module, force factory-startup
authorCampbell Barton <ideasman42@gmail.com>
Thu, 7 Feb 2013 02:50:35 +0000 (02:50 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 7 Feb 2013 02:50:35 +0000 (02:50 +0000)
source/creator/creator.c

index 0efbc25..3260f0c 100644 (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