Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/header_script.c')
-rw-r--r--source/blender/src/header_script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/header_script.c b/source/blender/src/header_script.c
index 98f18c4e2ac..de76a30ecdd 100644
--- a/source/blender/src/header_script.c
+++ b/source/blender/src/header_script.c
@@ -117,6 +117,7 @@ static void do_script_scriptsmenu(void *arg, int event)
switch(event) {
case 0: /* update menus */
BPyMenu_RemoveAllEntries();
+ BPY_rebuild_syspath();
if (BPyMenu_Init(1) == -1) error("Invalid scripts dir: check console");
break;
}