Correction to previous commit regarding Far vertex ordering options.

This commit is contained in:
barfowl 2015-04-01 21:00:29 -07:00
parent 898d68ae79
commit 36c86b0b68

View File

@ -358,8 +358,8 @@ TopologyRefiner::RefineUniform(UniformOptions options) {
// Initialize refinement options for Vtr -- adjusting full-topology for the last level:
//
Vtr::Refinement::Options refineOptions;
refineOptions._sparse = false;
refineOptions._orderFaceVertsFirst = options.orderVerticesFromFacesFirst;
refineOptions._sparse = false;
refineOptions._faceVertsFirst = options.orderVerticesFromFacesFirst;
for (int i = 1; i <= (int)options.refinementLevel; ++i) {
refineOptions._minimalTopology =
@ -401,9 +401,9 @@ TopologyRefiner::RefineAdaptive(AdaptiveOptions options) {
//
Vtr::Refinement::Options refineOptions;
refineOptions._sparse = true;
refineOptions._minimalTopology = false;
refineOptions._orderFaceVertsFirst = options.orderVerticesFromFacesFirst;
refineOptions._sparse = true;
refineOptions._minimalTopology = false;
refineOptions._faceVertsFirst = options.orderVerticesFromFacesFirst;
Sdc::Split splitType = (_subdivType == Sdc::SCHEME_LOOP) ? Sdc::SPLIT_TO_TRIS : Sdc::SPLIT_TO_QUADS;