From c4deb5510f0931ab8605df9e562f5bebd478fb71 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 17 Mar 2004 08:15:24 +0000 Subject: [PATCH] From Paul Martz, added (non-meters) unit scaling to the flt plugin failed to set the scaling of external references. --- src/osgPlugins/flt/flt2osg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgPlugins/flt/flt2osg.cpp b/src/osgPlugins/flt/flt2osg.cpp index baac1b11c..9ce762a98 100644 --- a/src/osgPlugins/flt/flt2osg.cpp +++ b/src/osgPlugins/flt/flt2osg.cpp @@ -2098,6 +2098,7 @@ osg::Group* ConvertFromFLT::visitExternal(osg::Group& osgParent, ExternalRecord* osg::Group* external = NULL; if (pFile) { + pFile->setDesiredUnits( rec->getFltFile()->getDesiredUnits() ); external = pFile->convert(); if (external) visitAncillary(osgParent, *external, rec)->addChild(external);