From 09e5e5fefa77a7821634411ecf81aad7c305eef4 Mon Sep 17 00:00:00 2001 From: barfowl Date: Tue, 30 Sep 2014 17:19:03 -0700 Subject: [PATCH] Fixed missing initialization of Vtr::Level::VTag._incomplete. --- opensubdiv/vtr/refinement.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opensubdiv/vtr/refinement.cpp b/opensubdiv/vtr/refinement.cpp index 9b40fa16..496b9057 100644 --- a/opensubdiv/vtr/refinement.cpp +++ b/opensubdiv/vtr/refinement.cpp @@ -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