forked from bartvdbraak/blender
b5a4492069
image.has_data can't be called before you load an image, otherwise it will return false even for valid images. The workaround is to try to run image.glLoad() before. That will crash if the image is corrupted (for we are using try/catch here). Campbell (ideasman42) thinks it would be better to have an api call proper for that. Since 2.4xx is close to its end I really don't think it's time to keep working in its API. Specially if we have similar functions doing what we need. @ Arystanbek (kazanbas): I'm done with the obj fixes I told you. You are free to go with the importers :) You may want to take a look at implementing a proper image.load() to 2.5 as Campbell suggested. |
||
---|---|---|
.. | ||
beos-4.5-i386 | ||
beos-5.0-i386 | ||
datafiles | ||
freedesktop | ||
irix-6.2-mips | ||
plugins | ||
scripts | ||
text | ||
windows | ||
getversion.py | ||
Makefile | ||
VERSION |