mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-28 18:51:12 +00:00
Good catch - in practice this should be pretty hard to get into... but
better safe than sorry. Closes #46
This commit is contained in:
parent
e2217e182c
commit
3c16c2c18f
@ -93,7 +93,7 @@ public:
|
||||
virtual void ApplyEditToFace(HbrFace<T>* face) {
|
||||
if (HbrHierarchicalEdit<T>::GetNSubfaces() == face->GetDepth()) {
|
||||
// Modify edge sharpness
|
||||
float sharp;
|
||||
float sharp=0.0f;
|
||||
if (op == HbrHierarchicalEdit<T>::Set) {
|
||||
sharp = sharpness;
|
||||
} else if (op == HbrHierarchicalEdit<T>::Add) {
|
||||
|
Loading…
Reference in New Issue
Block a user