On Fri, Feb 19, 2010 at 5:59 PM, Trajce (Nick) Nikolov <[email protected]> wrote: > correct. The viewer pointer was missmatching
I've been reviewing the observer_ptr<> code and it looks correct. Added a mutex to the copy constructor looks appropriate, but this isn't the issue we're up against. One thing that has occurred to be is that one possible reason for the divergence of the pointer values is multiple inheritance. Both Viewer and CompositeViewer use multiple inheritance though... One odd thing about CompositeViewer is that has virtual inherits from osg::Object, when ViewerBase already provides osg::Object. I don't know why it's like this, perhaps at one point in the past it was required then a refactor of VIewer/CompositeViewer didn't correctly pick up on this not being needed... I will remove this extra inheritance of osg::Object and see what happens. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

