Don't clamp GeomMorpherController recovered weight value

Seems that Morrowind doesn't do it.
pull/593/head
Capostrophic 4 years ago
parent 5c7ecb865c
commit 35de34c019

@ -197,7 +197,6 @@ void GeomMorpherController::update(osg::NodeVisitor *nv, osg::Drawable *drawable
float val = 0;
if (!(*it).empty())
val = it->interpKey(input);
val = std::max(0.f, std::min(1.f, val));
SceneUtil::MorphGeometry::MorphTarget& target = morphGeom->getMorphTarget(i);
if (target.getWeight() != val)

Loading…
Cancel
Save