SL-726, SL-718 - refactoring updateCharacter()
parent
2aa890da0b
commit
fff9dde8a8
|
|
@ -210,7 +210,6 @@ void LLControlAvatar::markForDeath()
|
|||
mMarkedForDeath = true;
|
||||
}
|
||||
|
||||
// static
|
||||
void LLControlAvatar::idleUpdate(LLAgent &agent, const F64 &time)
|
||||
{
|
||||
if (mMarkedForDeath)
|
||||
|
|
@ -224,6 +223,11 @@ void LLControlAvatar::idleUpdate(LLAgent &agent, const F64 &time)
|
|||
}
|
||||
}
|
||||
|
||||
BOOL LLControlAvatar::updateCharacter(LLAgent &agent)
|
||||
{
|
||||
return LLVOAvatar::updateCharacter(agent);
|
||||
}
|
||||
|
||||
//virtual
|
||||
void LLControlAvatar::updateDebugText()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public:
|
|||
void markForDeath();
|
||||
|
||||
virtual void idleUpdate(LLAgent &agent, const F64 &time);
|
||||
virtual BOOL updateCharacter(LLAgent &agent);
|
||||
|
||||
void getAnimatedVolumes(std::vector<LLVOVolume*>& volumes);
|
||||
void updateAnimations();
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -245,6 +245,10 @@ private: //aligned members
|
|||
public:
|
||||
virtual void updateDebugText();
|
||||
virtual BOOL updateCharacter(LLAgent &agent);
|
||||
void updateFootstepSounds();
|
||||
void computeUpdatePeriod();
|
||||
void updateOrientation(LLAgent &agent, F32 speed, F32 delta_time);
|
||||
void updateTimeStep();
|
||||
void idleUpdateVoiceVisualizer(bool voice_enabled);
|
||||
void idleUpdateMisc(bool detailed_update);
|
||||
virtual void idleUpdateAppearanceAnimation();
|
||||
|
|
|
|||
Loading…
Reference in New Issue