[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28711] branches/render25/source/blender/ imbuf/intern/tiff.c: Fix for failures in read tile tiffs wasn' t quite correct, this should work.
Brecht Van Lommel
brecht at blender.org
Mon May 10 16:05:28 CEST 2010
Revision: 28711
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28711
Author: blendix
Date: 2010-05-10 16:05:27 +0200 (Mon, 10 May 2010)
Log Message:
-----------
Fix for failures in read tile tiffs wasn't quite correct, this should work.
Modified Paths:
--------------
branches/render25/source/blender/imbuf/intern/tiff.c
Modified: branches/render25/source/blender/imbuf/intern/tiff.c
===================================================================
--- branches/render25/source/blender/imbuf/intern/tiff.c 2010-05-10 14:00:08 UTC (rev 28710)
+++ branches/render25/source/blender/imbuf/intern/tiff.c 2010-05-10 14:05:27 UTC (rev 28711)
@@ -406,7 +406,6 @@
hbuf= IMB_allocImBuf(width, height, 32, 0, 0);
hbuf->miplevel= level;
- hbuf->flags |= IB_tilecache;
hbuf->ftype= ibuf->ftype;
ibuf->mipmap[level-1] = hbuf;
@@ -416,6 +415,8 @@
else
hbuf= ibuf;
+ hbuf->flags |= IB_tilecache;
+
libtiff_TIFFGetField(image, TIFFTAG_TILEWIDTH, &hbuf->tilex);
libtiff_TIFFGetField(image, TIFFTAG_TILELENGTH, &hbuf->tiley);
More information about the Bf-blender-cvs
mailing list