Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-21 21:25:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-21 21:25:58 +0400
commit284a0d3610b50ff45a7acdc084c21003c9af0d41 (patch)
treed47161d4a20db189cb48db6b618e16f0c8dfab7c /source/blender/imbuf/intern/tiff.c
parent9646f8e5b15f55e2172411922a6849945d27739c (diff)
pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval.
Diffstat (limited to 'source/blender/imbuf/intern/tiff.c')
-rw-r--r--source/blender/imbuf/intern/tiff.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/tiff.c b/source/blender/imbuf/intern/tiff.c
index 746649e27ca..67d20d56466 100644
--- a/source/blender/imbuf/intern/tiff.c
+++ b/source/blender/imbuf/intern/tiff.c
@@ -605,8 +605,7 @@ void imb_loadtiletiff(ImBuf *ibuf, unsigned char *mem, size_t size, int tx, int
return;
}
- if(TIFFSetDirectory(image, ibuf->miplevel)) {
- /* allocate the image buffer */
+ if(TIFFSetDirectory(image, ibuf->miplevel)) { /* allocate the image buffer */
TIFFGetField(image, TIFFTAG_IMAGEWIDTH, &width);
TIFFGetField(image, TIFFTAG_IMAGELENGTH, &height);