summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-05-07 15:53:36 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-05-07 15:53:36 -0700
commitc997d4399a5a677fdfed935b727af8d0e18281dc (patch)
treef6d1d71e97808319cb75a84d79993cf666c26551 /indra/newview/llfloaterpathfindinglinksets.cpp
parent45206762319316289ef11595a5f6c974a7466f74 (diff)
PATh-621: BUGFIX Fixing an issue where attempting to apply changes from the pathfinding linksets floater with no real data changes causes a viewer crash.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.cpp')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp
index 8313226817..37c501b442 100644
--- a/indra/newview/llfloaterpathfindinglinksets.cpp
+++ b/indra/newview/llfloaterpathfindinglinksets.cpp
@@ -397,7 +397,7 @@ void LLFloaterPathfindingLinksets::handleUpdateLinksets(LLPathfindingManager::re
{
mLinksetsListPtr = pLinksetsListPtr;
}
- else
+ else if (pLinksetsListPtr != NULL)
{
mLinksetsListPtr->update(*pLinksetsListPtr);
}