コード例 #1
0
int BPY_text_exec(bContext *C, struct Text *text, struct ReportList *reports, const short do_jump)
{
	return python_script_exec(C, NULL, text, reports, do_jump);
}
コード例 #2
0
ファイル: bpy_interface.c プロジェクト: UPBGE/blender
bool BPY_execute_text(bContext *C, struct Text *text, struct ReportList *reports, const bool do_jump)
{
	return python_script_exec(C, NULL, text, reports, do_jump);
}
コード例 #3
0
/* Can run a file or text block */
int BPY_filepath_exec(bContext *C, const char *filepath, struct ReportList *reports)
{
	return python_script_exec(C, filepath, NULL, reports, FALSE);
}
コード例 #4
0
ファイル: bpy_interface.c プロジェクト: UPBGE/blender
/* Can run a file or text block */
bool BPY_execute_filepath(bContext *C, const char *filepath, struct ReportList *reports)
{
	return python_script_exec(C, filepath, NULL, reports, false);
}