mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-01 10:09:48 +00:00
Don't clamp GeomMorpherController recovered weight value
Seems that Morrowind doesn't do it.
This commit is contained in:
parent
5c7ecb865c
commit
35de34c019
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue