Added usage of osg::ConfigureBufferObjectsVisitor to correct for incoherent buffer oject set up due to the adhoc way that the OpenFlight plugin sets up osg::Geometry.
This commit is contained in:
parent
5b375124cc
commit
36b2ddac2d
@ -328,6 +328,12 @@ class FLTReaderWriter : public ReaderWriter
|
||||
}
|
||||
}
|
||||
|
||||
if (rr.getNode())
|
||||
{
|
||||
osg::ConfigureBufferObjectsVisitor cbov;
|
||||
rr.getNode()->accept(cbov);
|
||||
}
|
||||
|
||||
// clear local cache.
|
||||
if (nestedExternalsLevel==0)
|
||||
flt::Registry::instance()->clearLocalCache();
|
||||
|
Loading…
Reference in New Issue
Block a user