diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-20 18:01:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-20 18:01:09 +0300 |
commit | 854cc87a80ef8526416b931ef735bc6bacb6ede5 (patch) | |
tree | 23daca51096463b272c7669efb0cf06d26272935 /source/creator/creator.c | |
parent | 320cc0f12a186292078e174f2862a6539ac4d258 (diff) |
option to have scripts run on startup for per blendfile UI's
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 6535f578cc1..10674d830ba 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -494,6 +494,7 @@ int main(int argc, char **argv) #ifndef DISABLE_PYTHON BPY_set_context(C); /* necessary evil */ BPY_start_python(argc, argv); + BPY_load_user_modules(C); #endif // XXX BRECHT SOLVE @@ -533,6 +534,7 @@ int main(int argc, char **argv) #ifndef DISABLE_PYTHON BPY_set_context(C); /* necessary evil */ BPY_start_python(argc, argv); + BPY_load_user_modules(C); #endif BLI_where_is_temp( btempdir, 0 ); /* call after loading the .B.blend so we can read U.tempdir */ } |