Hi,

Thanks for your help. I'm a bit further now and everything works fine. That is 
what i did

std::vector<osg::ref_ptr<TGWidgetElement> > ElementUpper;
        std::vector<osg::ref_ptr<TGWidgetElement> > ElementLower;
        for(i=count_width; i>0; i--, elementindex_w++)
        {
                ElementLower.push_back(new TGWidgetElement(size,size,posXLL, 
posY, "WidgElementSideLower.png"));
                ElementUpper.push_back(new TGWidgetElement(size,size,posXLL, 
posYUR, "WidgElementSideUpper.png"));
                posXLL += size;
                
ElementUpper[elementindex_w].get()->setDataVariance(osg::Object::DYNAMIC);
                
ElementLower[elementindex_w].get()->setDataVariance(osg::Object::DYNAMIC);
                this->addChild(ElementUpper[elementindex_w].get());
                this->addChild(ElementLower[elementindex_w].get());
        }

actually im working on the handler.

This problem is solved.

Thank you!

Cheers,
Thorsten

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=19671#19671





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

Reply via email to