[osg-users] Performance drop & higherRAMusageafterswitchingfromOSG 1.2 to latest SVN
Marco Jez
marco.jez at gmail.com
Tue Apr 1 10:01:55 PDT 2008
> if (itr->second.first->getDataVariance()==UNSPECIFIED &&
> (itr->second.first->getUpdateCallback() ||
> itr->second.first->getEventCallback()))
> {
> itr->second.first->setDataVariance(DYNAMIC);
> }
> else // <----- ADDED this block
> {
> itr->second.first->setDataVariance(STATIC);
> }
Oh, of course this is wrong, as it would always turn any already-specified
variance into STATIC. But you got the idea... :-)
Marco
More information about the osg-users
mailing list