[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Draw.c
Willian Padovani Germano
wgermano at superig.com.br
Tue Jun 27 19:51:11 CEST 2006
ianwill (Willian Padovani Germano) 2006/06/27 19:51:11 CEST
Modified files:
blender/source/blender/python/api2_2x Draw.c
Log:
BPython:
Bug #4484:
http://projects.blender.org/tracker/?func=detail&aid=4484&group_id=9&atid=125
A recent update to Draw.c made the button attr setter function not exit
where it should for one of the cases, when new and old strings had
same length (code was missing a "return 0;" line in one of the if
cases). Should work fine now, I don't get the error under linux anymore.
Also saw in the same function that a py object could be created but
was not being decref'ed in two other 'if' cases.
Thanks elbarto for reporting the bug.
Revision Changes Path
1.52 +8 -3 blender/source/blender/python/api2_2x/Draw.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Draw.c.diff?r1=1.51&r2=1.52&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list