diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-04-23 18:04:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-04-23 18:04:05 +0400 |
commit | 4f49a3b906bd4974056ca734beda7241b70031dc (patch) | |
tree | c64ae47ea0432e7ca17b1279523827b23d5557f9 /source/blender/src/header_script.c | |
parent | 3552afeef2998b927ac5828a1904bd6c2d5034b6 (diff) |
added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers
Diffstat (limited to 'source/blender/src/header_script.c')
-rw-r--r-- | source/blender/src/header_script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c index f0a042f27c0..3c96e1692bf 100644 --- a/source/blender/src/header_script.c +++ b/source/blender/src/header_script.c @@ -112,9 +112,9 @@ static void do_script_scriptsmenu(void *arg, int event) /* these are no defines, easier this way, the codes are in the function below */ switch(event) { case 0: /* update menus */ - BPyMenu_RemoveAllEntries(); - BPY_rebuild_syspath(); - if (BPyMenu_Init(1) == -1) error("Invalid scripts dir: check console"); + if (BPY_path_update()==0) { + error("Invalid scripts dir: check console"); + } break; } |