SL-763 - disabled in slightly different way, more comments
parent
b625f9cd99
commit
1fd5d03847
|
|
@ -815,10 +815,10 @@ void LLMotionController::updateLoadingMotions()
|
|||
void LLMotionController::updateMotions(bool force_update)
|
||||
{
|
||||
// SL-763: "Distant animated objects run at super fast speed"
|
||||
// The use_quantum optimization does not work as implemented.
|
||||
// Disabling until such time as someone can do a deeper dive.
|
||||
//BOOL use_quantum = (mTimeStep != 0.f);
|
||||
BOOL use_quantum = FALSE;
|
||||
// The use_quantum optimization or possibly the associated code in setTimeStamp()
|
||||
// does not work as implemented.
|
||||
// Currently setting mTimeStep to nonzero is disabled elsewhere.
|
||||
BOOL use_quantum = (mTimeStep != 0.f);
|
||||
|
||||
// Always update mPrevTimerElapsed
|
||||
F32 cur_time = mTimer.getElapsedTimeF32();
|
||||
|
|
|
|||
|
|
@ -3903,7 +3903,6 @@ void LLVOAvatar::updateTimeStep()
|
|||
// fixed.
|
||||
mMotionController.setTimeStep(time_step);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void LLVOAvatar::updateRootPositionAndRotation(LLAgent& agent, F32 speed, bool was_sit_ground_constrained)
|
||||
|
|
@ -4093,7 +4092,8 @@ BOOL LLVOAvatar::updateCharacter(LLAgent &agent)
|
|||
// change animation time quanta based on avatar render load
|
||||
// AXON how should control avs be handled here?
|
||||
//--------------------------------------------------------------------
|
||||
updateTimeStep();
|
||||
// SL-763 the time step quantization does not currently work.
|
||||
//updateTimeStep();
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// Update sitting state based on parent and active animation info.
|
||||
|
|
|
|||
|
|
@ -3439,7 +3439,6 @@ bool LLVOVolume::isAnimatedObject() const
|
|||
void LLVOVolume::updateAnimatedObjectStateOnReparent(LLViewerObject *old_parent, LLViewerObject *new_parent)
|
||||
{
|
||||
LLVOVolume *old_volp = dynamic_cast<LLVOVolume*>(old_parent);
|
||||
LLVOVolume *new_volp = dynamic_cast<LLVOVolume*>(new_parent);
|
||||
|
||||
// AXON - depending on whether animated objects can be attached,
|
||||
// we may want to include or remove the isAvatar() check.
|
||||
|
|
|
|||
Loading…
Reference in New Issue