From Jannik Heller, build fix

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14878 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-06-01 10:41:43 +00:00
parent f72b62a065
commit 44c406e167

View File

@ -779,11 +779,11 @@ OSGTEXT_EXPORT osg::Geometry* computeGlyphGeometry(const osgText::Glyph3D* glyph
{
if ((*itr)->getMode()==GL_POLYGON)
{
osg::ref_ptr<Boundary> boundaryInner = new Boundary(orig_vertices, itr->get(), bevelThickness);
osg::ref_ptr<Boundary> boundaryInner = new Boundary(orig_vertices.get(), itr->get(), bevelThickness);
//boundaryInner->removeAllSegmentsBelowThickness(bevelThickness);
innerBoundaries.push_back(boundaryInner.get());
#if HANDLE_SHELL
osg::ref_ptr<Boundary> boundaryOuter = new Boundary(orig_vertices, itr->get(), -shellThickness);
osg::ref_ptr<Boundary> boundaryOuter = new Boundary(orig_vertices.get(), itr->get(), -shellThickness);
boundaryOuter->removeAllSegmentsAboveThickness(-shellThickness);
outerBoundaries.push_back(boundaryOuter.get());
#endif