Show
Ignore:
Timestamp:
09/17/08 16:23:25 (6 years ago)
Author:
robert
Message:

Updated osgwidget examples to use the new osg::clone() methods

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgwidgetwindow/osgwidgetwindow.cpp

    r8588 r8867  
    125125        // to the WindowManager. This demonstrates the usages of OSG's ->clone() support, 
    126126        // though that is abstracted by our META_UIObject macro. 
    127         osgWidget::Window* boxCopy = box->cloneAs("newBox"); 
     127        osgWidget::Window* boxCopy = osg::clone(box,"newBox"); 
    128128 
    129129        // Move our copy to make it visible.