> 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
 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to