Python Bugfix,
Setting the user preference for python scripts didnt add the bpymodules subdirectory to sys.path (python module search path). Also problems with entering and exiting- the old path was used until next restart.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user