Blender Git Commit Log
Git Commits -> Revision 139b612
Revision 139b612 by Joseph Eagar (master) February 14, 2008, 12:19 (GMT) |
The "premul" option for images had a very bad implementation. It basically flagged the image so that on next load/reload, the image data would be converted to premul. This was very confusing to the user, as it meant premul wouldn't take effect will the image was reloaded, and it would also change the image data, which the user might've been painting. To fix this, I've removed this behaviour and instead made the premul option apply at render time. During render while evaluating an image texture, if the image has the premul flag set then the premul operation is done on the texture result data, thus not touching the image data at all. Also, I've made premul be turned on by default. |
Commit Details:
Full Hash: 139b612b09616cc1a7558f8f60b05ef6ee97580f
SVN Revision: 13684
Parent Commit: 4339c32
Lines Changed: +13, -2