Fixed Chaikin-related bug subdividing edge sharpness:

- child sharpness should retain parent sharpness when not semi-sharp
This commit is contained in:
barfowl 2016-03-30 18:32:55 -07:00
parent 76137e5cc1
commit 4808b50785

View File

@ -168,7 +168,7 @@ Crease::SubdivideEdgeSharpnessesAroundVertex(int edgeCount,
//
if (sharpCount == 0) {
for (int i = 0; i < edgeCount; ++i) {
childSharpness[i] = Crease::SHARPNESS_SMOOTH;
childSharpness[i] = parentSharpness[i];
}
} else {
for (int i = 0; i < edgeCount; ++i) {