Hi Marco, On Tue, Apr 1, 2008 at 5:58 PM, Marco Jez <[EMAIL PROTECTED]> wrote: > The obvious fix in my application is to add a STATIC_OBJECT_DETECTION flag > to the Optimizer, but it's not enough. It seems that > StateSet::computeDataVariance() only changes attributes' variance from > UNSPECIFIED to DYNAMIC if they have any callbacks; but if they have no > callbacks, then their variance is left unchanged. Is this a bug?
It might be, it's a long time since I visited the code, as far I was aware it was working fine, but then not all engineers as as observant and enquiring as yourself :-) Any adjustment would be best done in Optimizer. Would it be possible you to provide me a simple model that reproduces the problem with the Optimizer not assigning DataVariance? Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

