diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llphysicsmotion.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp index 57ba76cf6d..15797e5ab7 100644 --- a/indra/newview/llphysicsmotion.cpp +++ b/indra/newview/llphysicsmotion.cpp @@ -627,8 +627,7 @@ BOOL LLPhysicsMotion::onUpdate(F32 time) // If this is one of our "hidden" driver params, then make sure it's
// the default value.
if ((driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE) &&
- (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT) &&
- (driver_param->getVisualParamWeight() != 0))
+ (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT))
{
mCharacter->setVisualParamWeight(driver_param,
0,
|