[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Image.c
Ken Hughes
khughes at pacific.edu
Tue Jul 18 23:02:15 CEST 2006
khughes (Ken Hughes) 2006/07/18 23:02:15 CEST
Modified files:
blender/source/blender/python/api2_2x Image.c
Log:
===Python API===
Bugfix: using Image.GetCurrent() and image.save() on the "Render Result"
image could result in a segfault since image->ibuf was NULL. This change
forces ibuf to be created if necessary.
NOTE: the Image API needs additional methods/attributes for image.save() to
really do anything useful. The image type, quality, etc., don't seem to be
gettable/settable so the resulting image file may not be in the format the
user would like.
Revision Changes Path
1.49 +2 -5 blender/source/blender/python/api2_2x/Image.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Image.c.diff?r1=1.48&r2=1.49&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list