mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-04 06:00:17 +00:00
Fixed missing initialization of Vtr::Level::VTag._incomplete.
This commit is contained in:
parent
4a11e39f2c
commit
09e5e5fefa
@ -1651,6 +1651,7 @@ Refinement::propagateVertexTagsFromParentFaces() {
|
||||
vTag._infSharp = 0;
|
||||
vTag._semiSharp = 0;
|
||||
vTag._rule = Sdc::Crease::RULE_SMOOTH;
|
||||
vTag._incomplete = 0;
|
||||
|
||||
if (_parent->_depth > 0) {
|
||||
for (Index cVert = 0; cVert < _childVertFromFaceCount; ++cVert) {
|
||||
@ -1706,6 +1707,7 @@ Refinement::propagateVertexTagsFromParentEdges() {
|
||||
cVertTag._semiSharp = pEdgeTag._semiSharp;
|
||||
cVertTag._rule = (Level::VTag::VTagSize)((pEdgeTag._semiSharp || pEdgeTag._infSharp)
|
||||
? Sdc::Crease::RULE_CREASE : Sdc::Crease::RULE_SMOOTH);
|
||||
cVertTag._incomplete = 0;
|
||||
}
|
||||
}
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user