forked from bartvdbraak/blender
selecting a new scripts dir didnt rebuild the menu's
This commit is contained in:
parent
dd944e88ee
commit
5b06c03884
@ -546,6 +546,11 @@ static void filesel_u_pythondir(char *name)
|
||||
|
||||
strcpy(U.pythondir, dir);
|
||||
allqueue(REDRAWALL, 0);
|
||||
|
||||
/* act on the change */
|
||||
BPyMenu_RemoveAllEntries();
|
||||
BPY_rebuild_syspath();
|
||||
if (BPyMenu_Init(1) == -1) error("Invalid scripts dir: check console");
|
||||
}
|
||||
|
||||
static void filesel_u_sounddir(char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user