Crashfix in LLAgent::teleportViaLocation if called before avatar is loaded (ex: doubleclicking the minimap)
This commit is contained in:
@@ -3561,6 +3561,8 @@ void LLAgent::teleportCancel()
|
|||||||
|
|
||||||
void LLAgent::teleportViaLocation(const LLVector3d& pos_global)
|
void LLAgent::teleportViaLocation(const LLVector3d& pos_global)
|
||||||
{
|
{
|
||||||
|
if(!isAgentAvatarValid())
|
||||||
|
return;
|
||||||
// [RLVa:KB] - Alternate: Snowglobe-1.2.4 | Checked: 2010-03-02 (RLVa-1.1.1a) | Modified: RLVa-1.2.0a
|
// [RLVa:KB] - Alternate: Snowglobe-1.2.4 | Checked: 2010-03-02 (RLVa-1.1.1a) | Modified: RLVa-1.2.0a
|
||||||
if (rlv_handler_t::isEnabled())
|
if (rlv_handler_t::isEnabled())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user