Scripts in menus:
-- this finishes the heavier part (not counting tweaks and possible bugs) of letting scripts be accessed from Blender menus. Will explain more in emails to bf and bpython lists, but just check source/blender/python/BPY_menus.[hc] and source/blender/src/header_info.c and header_script.c for details. Scripts need a small update (registering info, basically a header) to be used. Scripts dir (user pref file paths: Python) must be set.
This commit is contained in:
		@@ -49,7 +49,7 @@ struct _object;  // forward declaration for PyObject !
 | 
			
		||||
 | 
			
		||||
void BPY_start_python(void);
 | 
			
		||||
void BPY_end_python(void);
 | 
			
		||||
void BPY_syspath_append_pythondir(void);
 | 
			
		||||
void BPY_post_start_python(void);
 | 
			
		||||
int BPY_Err_getLinenumber(void);
 | 
			
		||||
const char *BPY_Err_getFilename(void);
 | 
			
		||||
/* void BPY_Err_Handle(struct Text *text); */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user