Merge branch 'master' of github.com:PixarAnimationStudios/OpenSubdiv

This commit is contained in:
manuelk 2012-08-23 13:34:06 -07:00
commit 48ddc4606c
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ OpenSubdiv::OsdHbrMesh * ConvertToHBR(int nVertices,
}
nEdgeCreases = (int)edgeCreases2.size();
for (int i = 0; i < nEdgeCreases; ++i) {
if( edgeCreases1[i] <= 0. )
if( edgeCreases2[i] <= 0. )
continue;
OpenSubdiv::OsdHbrVertex * v0 = hbrMesh->GetVertex(edgeCrease2Indices[i*2]);

View File

@ -154,7 +154,7 @@ OpenSubdiv::OsdHbrMesh * ConvertToHBR(int nVertices,
}
nEdgeCreases = (int)edgeCreases2.size();
for (int i = 0; i < nEdgeCreases; ++i) {
if( edgeCreases1[i] <= 0. )
if( edgeCreases2[i] <= 0. )
continue;
OpenSubdiv::OsdHbrVertex * v0 = hbrMesh->GetVertex(edgeCrease2Indices[i*2]);