Blender Git Commit Log

Git Commits -> Revision 13e7525

Revision 13e7525 by Willian Padovani Germano (master)
October 31, 2004, 04:09 (GMT)
BPython -- a few fixes:

-- fixed bug #1689:
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1689&group_id=9

Reported by Tom Musgrove (thanks), the problem was that Window.QHandle was not passing events to windows that had id's below the current active window. It was a stupid mistake (mine), the code was iterating from curarea instead of from the first area in the areabase list.

-- fixed bug #1568:
http://projects.blender.org/tracker/index.php?func=detail&aid=1568&group_id=9&atid=125

Stephen investigated the problem, reported by Gabriel Beloin, and left hints in the bug report, thanks :). I also implemented what he suggested, now Effect.Get('objname') returns a list with all objname's effects and as before, Get('objname, position') returns the effect at position 'position'. Ref doc already updated.

-- Allowed menu registration lines to appear commented out -- Python comments: '#', of course -- (suggested by Michael Reimpell) in scripts:
Some Python doc tools need the doc strings between triple double-quotes, so to avoid conflicts scripts writers can now comment out the registration code, it should work anyway. Michael also provided a patch for this a few days ago, too (thanks), but to keep changes at a minimum because of proximity to a release I didn't use it.

Commit Details:

Full Hash: 13e7525152e9bd7f187bcc89adfd50c5ac4d37ff
Parent Commit: e82d208
Lines Changed: +116, -63

6 Modified Paths:

/source/blender/python/api2_2x/doc/API_intro.py (+20, -10) (Diff)
/source/blender/python/api2_2x/doc/Effect.py (+8, -5) (Diff)
/source/blender/python/api2_2x/Effect.c (+52, -18) (Diff)
/source/blender/python/api2_2x/Object.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Window.c (+1, -1) (Diff)
/source/blender/python/BPY_menus.c (+33, -27) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021