In FreezeTime mode, keep avatars that TP away.

If an avatar TP's away (or quits), he will not
disappear anymore from a frozen scene. Unfreezing
makes him disappear of course (and clean up).

Known bug: if during Freeze Time mode someone
TPs away and then back, then he becomes a cloud
after Freeze Time is ended, which can only be
reset by another teleport (or relog) from either
the cloud or the one seeing him as cloud.
I decided not to fix this, cause there are things
with a higher priority and this - if it happens
at all - is rare and easy to recognize and work
around.
This commit is contained in:
Aleric Inglewood
2012-12-15 21:53:08 +01:00
parent e0c0da7dff
commit a9963bcdb3
5 changed files with 37 additions and 19 deletions

View File

@@ -50,7 +50,7 @@ BOOL LLCharacter::sAllowInstancesChange = TRUE ;
// LLCharacter()
// Class Constructor
//-----------------------------------------------------------------------------
LLCharacter::LLCharacter(bool freeze_time)
LLCharacter::LLCharacter()
:
mPreferredPelvisHeight( 0.f ),
mSex( SEX_FEMALE ),
@@ -62,7 +62,6 @@ LLCharacter::LLCharacter(bool freeze_time)
mMotionController.setCharacter( this );
mPauseRequest = new LLPauseRequestHandle();
mFreezeTimeHidden = freeze_time;
}