Blender Git Loki
Git Commits -> Revision 7341ceb
Revision 7341ceb by Campbell Barton (master) August 17, 2020, 08:32 (GMT) |
Cleanup: move Python script execution into BPY_extern_run.h This commit renames 'execute' to 'run' because: - This follows Python's "PyRun" which these functions wrap. - Execution functions can use either exec/eval modes, making naming awkward (for future API refactoring). |
Commit Details:
Full Hash: 7341ceb674b2fc5c01d4328f398516ef8f358ae5
Parent Commit: 397cec6
Lines Changed: +503, -399
2 Added Paths:
/source/blender/python/BPY_extern_run.h (+68, -0) (View)
/source/blender/python/intern/bpy_interface_run.c (+391, -0) (View)
/source/blender/python/intern/bpy_interface_run.c (+391, -0) (View)
13 Modified Paths:
/source/blender/editors/interface/interface.c (+5, -3) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+5, -2) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+6, -6) (Diff)
/source/blender/editors/space_script/script_edit.c (+3, -4) (Diff)
/source/blender/editors/space_text/text_ops.c (+2, -1) (Diff)
/source/blender/editors/util/numinput.c (+3, -3) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+5, -5) (Diff)
/source/blender/python/BPY_extern.h (+0, -34) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -330) (Diff)
/source/blender/python/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -4) (Diff)
/source/creator/creator_args.c (+6, -6) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+5, -2) (Diff)
/source/blender/editors/interface/interface_region_tooltip.c (+6, -6) (Diff)
/source/blender/editors/space_script/script_edit.c (+3, -4) (Diff)
/source/blender/editors/space_text/text_ops.c (+2, -1) (Diff)
/source/blender/editors/util/numinput.c (+3, -3) (Diff)
/source/blender/freestyle/intern/system/PythonInterpreter.h (+5, -5) (Diff)
/source/blender/python/BPY_extern.h (+0, -34) (Diff)
/source/blender/python/intern/bpy_interface.c (+2, -330) (Diff)
/source/blender/python/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+4, -4) (Diff)
/source/creator/creator_args.c (+6, -6) (Diff)