Build fixes for OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user