From c3548195f74f7a019a8c02f5ca56704d5e89cd49 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 28 Jun 2006 10:22:04 +0000 Subject: [PATCH] Made the new OpenFlight plugin the default. --- src/osgDB/Registry.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/osgDB/Registry.cpp b/src/osgDB/Registry.cpp index 0f401e49e..5125b2c18 100644 --- a/src/osgDB/Registry.cpp +++ b/src/osgDB/Registry.cpp @@ -148,6 +148,12 @@ Registry::Registry() addFileExtensionAlias("flt", "OpenFlight"); } } + else + { + #ifndef COMPILE_WITH_OLD_OPENFLIGHT_PLUGIN_AS_DEFAULT + addFileExtensionAlias("flt", "OpenFlight"); + #endif + } addFileExtensionAlias("sgi", "rgb"); addFileExtensionAlias("rgba", "rgb");