mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 22:00:06 +00:00
Merge pull request #420 from c64kernal/dev
Fix incorrect padding of manifold ring
This commit is contained in:
commit
a6ea4a0249
@ -364,8 +364,8 @@ ProtoBasis::ProtoBasis(Vtr::Level const & level, Index faceIndex, int fvarChanne
|
||||
int valence;
|
||||
if (ringSize & 1) {
|
||||
// boundary vertex
|
||||
++ringSize;
|
||||
manifoldRing[ringSize] = manifoldRing[ringSize-1];
|
||||
++ringSize;
|
||||
valence = -ringSize/2;
|
||||
} else {
|
||||
valence = ringSize/2;
|
||||
|
Loading…
Reference in New Issue
Block a user