From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp.

Sorry for this. Here is the fix."
This commit is contained in:
Robert Osfield 2011-05-17 12:57:46 +00:00
parent d4eceb0b90
commit 1d1d3ab50b

View File

@ -211,7 +211,7 @@ bool ExternalFileWriter::write(const osg::Object & obj, const osgDB::Options * o
else written = true; else written = true;
// Add entry // 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)); _searchMap.insert(SearchMap::value_type(pathHash(absoluteDestinationPath), &obj));
// Fill output strings // Fill output strings