Login location often fails to get stored in teleport history
Issue #138
new
This happens because handleLoginComplete() is getting called whilst the login restrictions are still in effect and thus the storing of the location is suppressed because showloc is active at the time.
Changing mGarbageCollectorCalledOnce = TRUE;
to
if (!mGarbageCollectorCalledOnce)
{
mGarbageCollectorCalledOnce = TRUE;
LLTeleportHistory::getInstance()->handleLoginComplete();
}
in RRInterface::garbageCollector solves the problem by having a second try when the garbage collector has just lifted the login restrictions. TeleportHistory has it’s own store-login-only-once logic so an extra call isn’t an issue there.
Comments (1)
-
reporter - Log in to comment
Forgot to mention, llteleporthistory.h is needed too