Show
Ignore:
Timestamp:
01/21/09 20:01:26 (6 years ago)
Author:
robert
Message:

Fixed compile errors for when ref_ptr<> auto conversion is disabled

Files:
1 modified

Legend:

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

    r9524 r9530  
    12501250    osg::ref_ptr<osgVolume::Volume> volume = new osgVolume::Volume; 
    12511251    osg::ref_ptr<osgVolume::VolumeTile> tile = new osgVolume::VolumeTile; 
    1252     volume->addChild(tile); 
    1253  
    1254     osg::ref_ptr<osgVolume::Layer> layer = new osgVolume::ImageLayer(image_3d); 
     1252    volume->addChild(tile.get()); 
     1253 
     1254    osg::ref_ptr<osgVolume::Layer> layer = new osgVolume::ImageLayer(image_3d.get()); 
    12551255 
    12561256    if (matrix)