mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
Fix Windows build warning in FarPatchTablesFactory
This commit is contained in:
parent
808aabfbc5
commit
068035c26a
2
opensubdiv/far/patchTablesFactory.h
Normal file → Executable file
2
opensubdiv/far/patchTablesFactory.h
Normal file → Executable file
@ -377,7 +377,7 @@ FarPatchTablesFactory<T>::Create( HbrMesh<T> const * mesh, FacesList const & fli
|
||||
|
||||
for (int i=0; i<(int)flist[level].size(); ++i) {
|
||||
HbrFace<T> * f = flist[level][i];
|
||||
assert( f and f->GetNumVertices() == isLoop ? 3 : 4);
|
||||
assert( f and (f->GetNumVertices() == (isLoop ? 3 : 4)));
|
||||
|
||||
for (int j=0; j<f->GetNumVertices(); ++j) {
|
||||
*iptr++ = remapTable[f->GetVertex(j)->GetID()];
|
||||
|
Loading…
Reference in New Issue
Block a user