diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-09-19 11:10:59 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2013-09-19 11:10:59 -0400 |
commit | 82f147367fb5e4ee4bbe53db01856ea375058825 (patch) | |
tree | 2db2aa6b0e4037e0782977ded11771e2dba42ca9 /indra/newview/llphysicsmotion.cpp | |
parent | 67193b259a5f4cae029b3e08aecf71c1a7041046 (diff) |
SH-3455 WIP - removing bake upload code
Diffstat (limited to 'indra/newview/llphysicsmotion.cpp')
-rwxr-xr-x | indra/newview/llphysicsmotion.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/newview/llphysicsmotion.cpp b/indra/newview/llphysicsmotion.cpp index 18b85cc9c3..8746f58f55 100755 --- a/indra/newview/llphysicsmotion.cpp +++ b/indra/newview/llphysicsmotion.cpp @@ -668,9 +668,7 @@ BOOL LLPhysicsMotion::onUpdate(F32 time) if ((driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE) && (driver_param->getGroup() != VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT)) { - mCharacter->setVisualParamWeight(driver_param, - 0, - FALSE); + mCharacter->setVisualParamWeight(driver_param, 0); } S32 num_driven = driver_param->getDrivenParamsCount(); for (S32 i = 0; i < num_driven; ++i) @@ -770,7 +768,5 @@ void LLPhysicsMotion::setParamValue(const LLViewerVisualParam *param, // Scale from [0,1] to [value_min_local,value_max_local] const F32 new_value_local = value_min_local + (value_max_local-value_min_local) * new_value_rescaled; - mCharacter->setVisualParamWeight(param, - new_value_local, - FALSE); + mCharacter->setVisualParamWeight(param, new_value_local); } |