added ipo script template from blenderartists forTe, made scripts refresh on load factory settings and replaced elysiun with blenderartist.org in headers

This commit is contained in:
2008-04-23 14:04:05 +00:00
parent 3552afeef2
commit 4f49a3b906
74 changed files with 212 additions and 112 deletions

View File

@@ -462,6 +462,16 @@ void BPY_rebuild_syspath( void )
PyGILState_Release(gilstate);
}
int BPY_path_update( void )
{
BPyMenu_RemoveAllEntries(); /* free old data */
BPY_rebuild_syspath();
if (BPyMenu_Init(1) == -1) { /* re-eval scripts registration in menus */
return 0;
}
return 1;
}
/****************************************************************************
* Description: This function finishes Python initialization in Blender.