Fix error. Wrong return value.
This commit is contained in:
parent
eb96117989
commit
364663c49d
@ -1042,7 +1042,7 @@ bool nv::ImageIO::saveFloatTIFF(const char * fileName, const FloatImage * fimage
|
|||||||
if (TIFFWriteScanline(image, scanline, y, 0)==-1)
|
if (TIFFWriteScanline(image, scanline, y, 0)==-1)
|
||||||
{
|
{
|
||||||
nvDebug("Error writing scanline %d\n", y);
|
nvDebug("Error writing scanline %d\n", y);
|
||||||
return -1;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete [] scanline;
|
delete [] scanline;
|
||||||
|
Loading…
Reference in New Issue
Block a user