Blender Git Loki

Git Commits -> Revision 6907bcc

Revision 6907bcc by Joseph Eagar (master)
February 14, 2008, 12:44 (GMT)
Reverted the change of auto-turning on premul for images from last
commit. I still think this is a good idea, but needs more discussion.

Basically, the way the premul option worked before is it actually
changed the image data to be premul (for each pixel it multipled r,g,b by a) when
loading an image. So if a user wanted his image to be key, yet
still work in the renderer (which expects premul) he'd be stuck.
Also, it was kindof confusing how if you painted something in the image,
then saved it with premul on, when next you loaded the image it'd have
changed (especially since the image editor painting seems to paint in
key, not premul).

Commit Details:

Full Hash: 6907bcc79bff47d5b861305631d4f765d0778049
SVN Revision: 13686
Parent Commit: 4eb064a
Lines Changed: +0, -1

1 Modified Path:

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