This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/python/api2_2x/doc
Willian Padovani Germano caf58fe4b2 == Python Space Handlers ==
- Old feature request: now space handlers can report release events, too. For that a new space handler type was added, here's the header for it:

# SPACEHANDLER.VIEW3D.EVENT.ALL

These scripts report both "presses and releases". For release events, Blender.eventValue is zero and Blender.link == Blender.SpaceHandlers.VIEW3D_EVENT_RELEASE. Check the API_related bpy doc for more info.

- Bug fix: left mouse clicks could be reported twice.

Important: for both the feature and the fix, to make the code nicer and to let space handlers become available in more situations, I moved the check for space handlers in space.c. Now it happens before checks for grease pencil, sculpt and left/right mouse button swapping. If this causes any problem (it shouldn't), please report.

PS: Thanks to Steven Truppe, who asked for this and even sent me a patch, but to preserve compatibility with existing event space handler scripts I did things in a different way.
2008-12-09 00:18:30 +00:00
..
2008-09-19 18:53:05 +00:00
2008-12-09 00:18:30 +00:00
2008-08-01 23:39:52 +00:00
2008-10-14 22:31:10 +00:00
2005-11-15 21:14:24 +00:00
2007-05-05 03:35:12 +00:00
2007-05-05 03:35:12 +00:00
2007-05-05 03:35:12 +00:00
2003-06-21 11:44:10 +00:00
2008-11-08 13:38:21 +00:00
2008-04-27 18:26:20 +00:00
2008-10-14 22:31:10 +00:00
2008-02-04 00:44:31 +00:00
2007-03-26 02:10:24 +00:00
2008-07-26 10:45:11 +00:00
2008-10-14 22:31:10 +00:00
2003-06-21 11:44:10 +00:00
2007-09-08 00:57:34 +00:00
2008-09-08 23:39:32 +00:00
2008-07-26 10:45:11 +00:00
2007-03-21 02:23:28 +00:00
2008-10-12 14:27:30 +00:00
2008-08-30 14:32:16 +00:00
2007-05-24 15:00:10 +00:00
2003-06-21 11:44:10 +00:00
2008-05-21 19:24:35 +00:00
2008-10-14 22:31:10 +00:00
2008-10-08 16:37:33 +00:00
2008-10-14 22:31:10 +00:00
2007-10-26 22:38:15 +00:00
2004-07-27 03:13:45 +00:00
2008-10-19 21:39:50 +00:00
2003-06-21 16:07:55 +00:00
2003-06-21 16:07:55 +00:00
2003-06-21 16:07:55 +00:00
2003-06-21 16:07:55 +00:00
2003-06-21 16:09:21 +00:00
2008-08-30 14:32:16 +00:00
2008-10-14 22:31:10 +00:00
2008-10-14 22:31:10 +00:00
2008-09-08 23:39:32 +00:00
2003-10-12 16:03:52 +00:00