mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-24 00:40:33 +00:00
Fix maxvalence calculation in FarMeshFactory
The lowest max valence should always be 4: even a triangle generates 4 quads. fixes #249
This commit is contained in:
parent
69ebcb8cc3
commit
d41cb5cd1f
@ -591,7 +591,7 @@ FarMeshFactory<T,U>::FarMeshFactory( HbrMesh<T> * mesh, int maxlevel, bool adapt
|
||||
_numVertices(-1),
|
||||
_numCoarseVertices(-1),
|
||||
_numFaces(-1),
|
||||
_maxValence(3),
|
||||
_maxValence(4),
|
||||
_numPtexFaces(-1),
|
||||
_facesList(maxlevel+1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user