Blender Git Commit Log

Git Commits -> Revision 9059832

Revision 9059832 by Willian Padovani Germano (master)
September 19, 2008, 18:53 (GMT)
== Python Space Handlers ==

Patch #9673: "Short patch to make spacehandler event scripts work more like normal python gui script handlers" by Steven Truppe:
http://projects.blender.org/tracker/?func=detail&atid=127&aid=9673&group_id=9

This patch adds the Blender.eventValue variable available for space handlers, holding the event value (aka 1 for button and key presses, X or Y coordinate for mousex / mousey movement). Thanks, Steven. PS: this doesn't break existing scripts.

Commit Details:

Full Hash: 905983229ae588d6ec31a202742b1433d46bc9b0
SVN Revision: 16613
Parent Commit: 0f6fc0b
Lines Changed: +33, -13

7 Modified Paths:

/source/blender/python/api2_2x/doc/API_intro.py (+8, -0) (Diff)
/source/blender/python/api2_2x/doc/API_related.py (+10, -3) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+7, -3) (Diff)
/source/blender/python/BPY_extern.h (+1, -1) (Diff)
/source/blender/python/BPY_interface.c (+3, -2) (Diff)
/source/blender/src/drawview.c (+1, -1) (Diff)
/source/blender/src/space.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021