mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-11 03:40:05 +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