Blender Git Loki
Git Commits -> Revision 141c607
Revision 141c607 by Campbell Barton (master) February 2, 2019, 04:23 (GMT) |
WM: Event simulation support for Python This feature is intended only for testing, to automate simulating user input. - Enabled by '--enable-event-simulate'. - Disables handling all real input events. - Access by calling `Window.event_simulate(..)` - Disabling `bpy.app.use_event_simulate` to allow handling real events (can only disable). Currently only mouse & keyboard events work well, NDOF, IME... etc could be added as needed. See D4286 for example usage. |
Commit Details:
Full Hash: 141c6073ca39f0d59c67ebef89b094395b903a4a
Parent Commit: 99b8eef
Lines Changed: +167, -7
7 Modified Paths:
/source/blender/blenkernel/BKE_global.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+93, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+36, -6) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+16, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+5, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/creator/creator_args.c (+11, -0) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+93, -0) (Diff)
/source/blender/python/intern/bpy_app.c (+36, -6) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+16, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+5, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/creator/creator_args.c (+11, -0) (Diff)