diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-10 03:31:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-10 03:31:53 +0400 |
commit | e7a487d1e9e79176a0ca99cda3882aac4ea16a99 (patch) | |
tree | 2d624a11f3954033cfe7c2f4c51142701a8d586b /source/creator | |
parent | e70476db4b63f1720f24ff93aa15441de7740fd6 (diff) |
code cleanup: group python reset functions in BPY_python_reset()
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index fdd01691232..1451a525694 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -1250,9 +1250,7 @@ static int load_file(int UNUSED(argc), const char **argv, void *data) /* WM_file_read() runs normally but since we're in background mode do here */ #ifdef WITH_PYTHON /* run any texts that were loaded in and flagged as modules */ - BPY_driver_reset(); - BPY_app_handlers_reset(FALSE); - BPY_modules_load_user(C); + BPY_python_reset(C); #endif /* happens for the UI on file reading too (huh? (ton))*/ |