mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 12:06:43 +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;
|
float val = 0;
|
||||||
if (!(*it).empty())
|
if (!(*it).empty())
|
||||||
val = it->interpKey(input);
|
val = it->interpKey(input);
|
||||||
val = std::max(0.f, std::min(1.f, val));
|
|
||||||
|
|
||||||
SceneUtil::MorphGeometry::MorphTarget& target = morphGeom->getMorphTarget(i);
|
SceneUtil::MorphGeometry::MorphTarget& target = morphGeom->getMorphTarget(i);
|
||||||
if (target.getWeight() != val)
|
if (target.getWeight() != val)
|
||||||
|
|
Loading…
Reference in a new issue