fix [#26532] Does not save in specified format
old bug from r6568 (or before) in BKE_write_ibuf(), when passed TAGA format it would use whatever format the image buffer already had. expect this is exposed by updated image saving code in 2.5x.
This commit is contained in:
@@ -1249,8 +1249,8 @@ int BKE_write_ibuf(Scene *scene, ImBuf *ibuf, const char *name, int imtype, int
|
||||
int ok;
|
||||
(void)subimtype; /* quies unused warnings */
|
||||
|
||||
if(imtype==0) {
|
||||
/* pass */
|
||||
if(imtype == -1) {
|
||||
/* use whatever existing image type is set by 'ibuf' */
|
||||
}
|
||||
else if(imtype== R_IRIS) {
|
||||
ibuf->ftype= IMAGIC;
|
||||
|
Reference in New Issue
Block a user