From c465036a7c11cdea393de842b059d6064344258d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 20 Dec 2005 09:29:26 +0000 Subject: [PATCH] Removed "if (mapExt!=toExt)" from alias map assignement to allow aliases to be overriden for all cases. --- src/osgDB/Registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index d3e3796b4..833abf128 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -455,7 +455,7 @@ void Registry::removeReaderWriter(ReaderWriter* rw) void Registry::addFileExtensionAlias(const std::string mapExt, const std::string toExt) { - if (mapExt!=toExt) _extAliasMap[mapExt] = toExt; + _extAliasMap[mapExt] = toExt; } std::string Registry::createLibraryNameForFile(const std::string& fileName)