From b3b6bc9fcd0bb94528327daef414a6dd7f578c01 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Mon, 12 Jul 2010 11:49:29 +0200 Subject: fix bug #283: LM-floater crashes after logout/login on clicking teleport --- linden/indra/newview/llpanelplace.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/linden/indra/newview/llpanelplace.cpp b/linden/indra/newview/llpanelplace.cpp index 6b0455e..d7939b9 100644 --- a/linden/indra/newview/llpanelplace.cpp +++ b/linden/indra/newview/llpanelplace.cpp @@ -415,11 +415,7 @@ void LLPanelPlace::onClickTeleport(void* data) { parent_floaterp->close(); } - // LLFloater* parent_floaterp = (LLFloater*)self->getParent(); - if (parent_viewp) - { - parent_viewp->setVisible(false); - } + if(self->mLandmarkAssetID.notNull()) { gAgent.teleportViaLandmark(self->mLandmarkAssetID); -- cgit v1.1