diff --git a/applications/present3D/present3D.cpp b/applications/present3D/present3D.cpp index 10c5358e5..ca41a856a 100644 --- a/applications/present3D/present3D.cpp +++ b/applications/present3D/present3D.cpp @@ -219,6 +219,9 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->addCommandLineOption("--loop","Switch on looping of presentation."); arguments.getApplicationUsage()->addCommandLineOption("--devices","Print the Video input capability via QuickTime and exit."); + // add alias from xml to p3d to provide backwards compatibility for old p3d files. + osgDB::Registry::instance()->addFileExtensionAlias("xml","p3d"); + // if user requests devices video capability. if (arguments.read("-devices") || arguments.read("--devices")) {