mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-09 13:50:05 +00:00
Fixed Chaikin-related bug subdividing edge sharpness:
- child sharpness should retain parent sharpness when not semi-sharp
This commit is contained in:
parent
76137e5cc1
commit
4808b50785
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user