From Paul Martz, added (non-meters) unit scaling to the flt plugin

failed to set the scaling of external references.
This commit is contained in:
Robert Osfield
2004-03-17 08:15:24 +00:00
parent 4ee909d217
commit c4deb5510f

View File

@@ -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);