Hi Johan,

The update visitor has been moved from the osgView::Scene into
ViewerBase class that both CompositeViewer and Viewer now inherit
from.  So just write:

  viewer->getUpdateVisitor()->....

Robert.

On Nov 7, 2007 11:35 AM, Johan Johnsson <[EMAIL PROTECTED]> wrote:
> after a quick recompile and migration to OSGv2.2 i have this compile
> error, where do i set this variable now?
>
> getScene()->getUpdateVisitor()->setUserData(m_clockState.get());
>
>
> error C2039: 'getUpdateVisitor' : is not a member of 'osgViewer::Scene'
> error C2227: left of '->setUserData' must point to class/struct/union
>
> Tnx for a quick answer.
>
> --
> Mr. Johan Johnsson
> AutoSim AS, Strandveien 106, 9006 Tromsø
> Visit us at http://www.autosim.no
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to