Fixed write of normalmap.

This commit is contained in:
Robert Osfield 2004-09-09 09:03:28 +00:00
parent d36739a8cd
commit 39a79a9805

View File

@ -873,7 +873,7 @@ int main( int argc, char **argv )
if (normalmap_3d.valid())
{
normalmap_3d->setFileName(name_no_ext + "_normalmap.dds");
osgDB::writeImageFile(*image_3d, normalmap_3d->getFileName());
osgDB::writeImageFile(*normalmap_3d, normalmap_3d->getFileName());
}
osgDB::writeNodeFile(*rootNode, outputFile);