gambr wrote: > > Moreover, since the Label widget I add to the window is indeed a subclass of > osgWidget::Label (say MyLabel class), what should I implement in MyLabel > class to make the clone() call on the osgWidget::Window to create an instance > of MyLabel instead of an osgWidget::Label? >
Implement: MyLabel(const MyLabel& iOther, const osg::CopyOp& iCopyOp) Insert the macro: META_Object(library, MyLabel); Is it correct? Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43769#43769 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

