diff options
author | Todd Stinson <stinson@lindenlab.com> | 2012-03-05 17:55:33 -0800 |
---|---|---|
committer | Todd Stinson <stinson@lindenlab.com> | 2012-03-05 17:55:33 -0800 |
commit | 8ad01dd79a2c215895017475bcfd62808f8893be (patch) | |
tree | 04f1bda6d5e291e12e0770377dc0575bf37359d1 /indra/newview/llfloaterpathfindingconsole.cpp | |
parent | f0e6ad509a65c1f888f9af6c3421e7ec024100cb (diff) |
Wrapping all cases of LLPathingLib::getInstance in null pointer checks.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r-- | indra/newview/llfloaterpathfindingconsole.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index eee5d6860d..37bf937cd1 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -265,7 +265,10 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting) mNavMeshZoneSlot.disconnect();
}
- //mNavMeshZone.disable();
+ if (LLPathingLib::getInstance() != NULL)
+ {
+ mNavMeshZone.disable();
+ }
LLFloater::onClose(pIsAppQuitting);
setHeartBeat( false );
|