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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user