[Bf-blender-cvs] CVS commit: blender/source/blender/python BPY_menus.c blender/source/blender/python/api2_2x Effect.c Object.c Window.c blender/source/blender/python/api2_2x/doc API_intro.py Effect.py
Willian Padovani Germano
wgermano at ig.com.br
Sun Oct 31 05:09:19 CET 2004
ianwill (Willian Padovani Germano) 2004/10/31 05:09:19 CET
Modified files:
blender/source/blender/python BPY_menus.c
blender/source/blender/python/api2_2x Effect.c Object.c
Window.c
blender/source/blender/python/api2_2x/doc API_intro.py
Effect.py
Log:
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.
Revision Changes Path
1.20 +34 -28 blender/source/blender/python/BPY_menus.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/BPY_menus.c.diff?r1=1.19&r2=1.20&cvsroot=bf-blender>
1.10 +53 -19 blender/source/blender/python/api2_2x/Effect.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Effect.c.diff?r1=1.9&r2=1.10&cvsroot=bf-blender>
1.92 +3 -3 blender/source/blender/python/api2_2x/Object.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Object.c.diff?r1=1.91&r2=1.92&cvsroot=bf-blender>
1.23 +2 -2 blender/source/blender/python/api2_2x/Window.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Window.c.diff?r1=1.22&r2=1.23&cvsroot=bf-blender>
1.8 +20 -10 blender/source/blender/python/api2_2x/doc/API_intro.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/API_intro.py.diff?r1=1.7&r2=1.8&cvsroot=bf-blender>
1.5 +8 -5 blender/source/blender/python/api2_2x/doc/Effect.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Effect.py.diff?r1=1.4&r2=1.5&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list