Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to OFF
This commit is contained in:
parent
39ee19e058
commit
98203252dc
@ -280,7 +280,7 @@ public:
|
||||
osgDB::ofstream fout( fileName.c_str(), std::ios::out|std::ios::binary );
|
||||
if ( !fout ) return WriteResult::ERROR_IN_WRITING_FILE;
|
||||
|
||||
result = writeImage( image, fout, local_opt );
|
||||
result = writeImage( image, fout, local_opt.get() );
|
||||
fout.close();
|
||||
return result;
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ void Terrain::traverse(osg::NodeVisitor& nv)
|
||||
itr != tiles.end();
|
||||
++itr)
|
||||
{
|
||||
TerrainTile* tile = *itr;
|
||||
TerrainTile* tile = itr->get();
|
||||
tile->traverse(nv);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user