diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-21 10:07:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-21 10:07:44 +0300 |
commit | eee4a62e876b19079254f632c93eb88a40bec8a6 (patch) | |
tree | 89a8828968a3c61f942b8252fd4aab2120d6b6e3 /source | |
parent | 8c8ae3dedf0da0c3ea8e15b37a1f57a856d89206 (diff) |
move addon utilities into their own module, these were getting mixed between bpy.utils and space_userpref.
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 8288b2e54e0..f365f650957 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -937,7 +937,7 @@ static int set_addons(int argc, const char **argv, void *data) const int slen= strlen(argv[1]) + 10; char *str= malloc(slen); bContext *C= data; - BLI_snprintf(str, slen, "[__import__('bpy').utils.addon_enable(i) for i in '%s'.split(',')]", argv[1]); + BLI_snprintf(str, slen, "[__import__('addon_utils').enable(i) for i in '%s'.split(',')]", argv[1]); BPY_CTX_SETUP(BPY_string_exec(C, str)); free(str); #else |