Blender Git Loki

Git Commits -> Revision e194ccc

Revision e194ccc by Ken Hughes (master)
July 18, 2006, 21:02 (GMT)


===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.

Commit Details:

Full Hash: e194ccce5e56ef0124107d40b3b2f5ad2625c816
SVN Revision: 8184
Parent Commit: 5e58b27
Lines Changed: +1, -4

1 Modified Path:

/source/blender/python/api2_2x/Image.c (+1, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021