Changed the default value of StandardOrientation to true, to fix orientation

problems which commonly occur with png files.   Leaves the quesition of how to set
this value automatically.
This commit is contained in:
Robert Osfield
2002-10-09 15:41:22 +00:00
parent f210e13944
commit 88ecacfd7a

View File

@@ -102,7 +102,7 @@ class ReaderWriterPNG : public osgDB::ReaderWriter
data = (png_bytep) malloc(png_get_rowbytes(png, info)*height);
row_p = (png_bytep *) malloc(sizeof(png_bytep)*height);
bool StandardOrientation = false;
bool StandardOrientation = true;
for (i = 0; i < height; i++)
{
if (StandardOrientation)