diff --git a/opensubdiv/hbr/mesh.h b/opensubdiv/hbr/mesh.h index 3105014c..a11c99d2 100644 --- a/opensubdiv/hbr/mesh.h +++ b/opensubdiv/hbr/mesh.h @@ -705,7 +705,7 @@ HbrMesh::Finish() { GetVertices(std::back_inserter(vertexlist)); // If interpolateboundary is on, process boundary edges - if (interpboundarymethod == k_InterpolateBoundaryEdgeOnly || interpboundarymethod == k_InterpolateBoundaryEdgeAndCorner) { + if (interpboundarymethod == k_InterpolateBoundaryEdgeOnly || interpboundarymethod == k_InterpolateBoundaryEdgeAndCorner || interpboundarymethod == k_InterpolateBoundaryAlwaysSharp) { for (i = 0; i < nfaces; ++i) { if (HbrFace* face = faces[i]) { int nv = face->GetNumVertices(); @@ -719,7 +719,7 @@ HbrMesh::Finish() { } } // Process corners - if (interpboundarymethod == k_InterpolateBoundaryEdgeAndCorner) { + if (interpboundarymethod == k_InterpolateBoundaryEdgeAndCorner || interpboundarymethod == k_InterpolateBoundaryAlwaysSharp) { for (typename std::vector*>::iterator vi = vertexlist.begin(); vi != vertexlist.end(); ++vi) { HbrVertex* vertex = *vi;