Show
Ignore:
Timestamp:
06/18/09 12:01:39 (4 years ago)
Author:
robert
Message:

From Cedric Pinson and Robert Osfield, addition of NodeCallbacks? to osg::CopyOp? and osg::Node copy constructor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/Node.cpp

    r9897 r10362  
    7575        _boundingSphereComputed(node._boundingSphereComputed), 
    7676        _parents(), // leave empty as parentList is managed by Group. 
    77         _updateCallback(node._updateCallback), 
     77        _updateCallback(copyop(node._updateCallback.get())), 
    7878        _numChildrenRequiringUpdateTraversal(0), // assume no children yet. 
    7979        _numChildrenRequiringEventTraversal(0), // assume no children yet. 
    80         _cullCallback(node._cullCallback), 
     80        _cullCallback(copyop(node._cullCallback.get())), 
    8181        _cullingActive(node._cullingActive), 
    8282        _numChildrenWithCullingDisabled(0), // assume no children yet.