Build fixes for OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF
This commit is contained in:
parent
362e355db2
commit
312ce9ad05
@ -653,7 +653,7 @@ ref_ptr<Group> VBSPGeometry::createGeometry()
|
||||
|
||||
// Now, stripify the geode to convert the POLYGON primitives to
|
||||
// triangle strips
|
||||
osgUtil::optimizeMesh(geode);
|
||||
osgUtil::optimizeMesh(geode.get());
|
||||
}
|
||||
|
||||
// Now do the same for the displacement surfaces (if any)
|
||||
|
@ -182,7 +182,7 @@ private:
|
||||
geom->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::TRIANGLES, 0, _numFacets * 3));
|
||||
|
||||
if(!_noTriStripPolygons) {
|
||||
osgUtil::optimizeMesh(geom);
|
||||
osgUtil::optimizeMesh(geom.get());
|
||||
}
|
||||
|
||||
return geom;
|
||||
|
Loading…
Reference in New Issue
Block a user