From 1d1d3ab50b48d4410659638918b411176ee1ff75 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 17 May 2011 12:57:46 +0000 Subject: [PATCH] From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp. Sorry for this. Here is the fix." --- src/osgDB/ExternalFileWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/ExternalFileWriter.cpp b/src/osgDB/ExternalFileWriter.cpp index c895caf6f..fab33b103 100644 --- a/src/osgDB/ExternalFileWriter.cpp +++ b/src/osgDB/ExternalFileWriter.cpp @@ -211,7 +211,7 @@ bool ExternalFileWriter::write(const osg::Object & obj, const osgDB::Options * o else written = true; // Add entry - _objects.insert(ObjectsSet::value_type(&obj, ObjectData(relativeDestinationPath, absoluteDestinationPath, written))).first; + _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first; _searchMap.insert(SearchMap::value_type(pathHash(absoluteDestinationPath), &obj)); // Fill output strings