diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-07-21 00:00:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-07-21 00:00:59 +0400 |
commit | 1b7f1bc72dbbf2051eb015d219f2c89d43439cad (patch) | |
tree | e1d4a44dfb768c74e25b6dc33386df59dabeffe4 | |
parent | e43c425e8cd4c38cdecfe2024c2cf9302eb9100e (diff) |
mistake in own recent change, errors with startup scripts didnt raise errors
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 04d70f5a758..76852d99b56 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -515,7 +515,7 @@ void BPY_run_ui_scripts(bContext *C, int reload) /* normal py files? */ if(file_extension && file_extension[3] == '\0') { de->d_name[(file_extension - de->d_name) + 1] = '\0'; - bpy_import_module(de->d_name, reload); + err= bpy_import_module(de->d_name, reload); } } #ifndef __linux__ @@ -528,7 +528,7 @@ void BPY_run_ui_scripts(bContext *C, int reload) BLI_join_dirfile(path, path, "__init__.py"); if(BLI_exists(path)) { - bpy_import_module(de->d_name, reload); + err= bpy_import_module(de->d_name, reload); } } |