Good catch - in practice this should be pretty hard to get into... but

better safe than sorry.

Closes #46
This commit is contained in:
manuelk 2012-08-10 15:24:04 -07:00
parent e2217e182c
commit 3c16c2c18f

View File

@ -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) {