summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-05 17:17:06 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-05 17:17:06 -0700
commit0693defb80489a48f776fc73ee9bba7034d3d2b1 (patch)
tree6f547aff81d3a657e085ba0482d75d3502b26612
parent49e455d0c64c565d243a9a1fbbe47acc8031fb65 (diff)
Removing the onShowWorldToggle callback as it is no longer required.
-rw-r--r--autobuild.xml12
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp17
-rw-r--r--indra/newview/llfloaterpathfindingconsole.h1
3 files changed, 6 insertions, 24 deletions
diff --git a/autobuild.xml b/autobuild.xml
index 61b577fb19..ce3f5893f7 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -1110,9 +1110,9 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>30e3b43baf5fe67f6c19cee8d95c5dd7</string>
+ <string>c35c738cac6bb74d242b3a7910564439</string>
<key>url</key>
- <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253142/arch/Darwin/installer/llphysicsextensions-0.1-darwin-20120405.tar.bz2</string>
+ <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253202/arch/Darwin/installer/llphysicsextensions-0.1-darwin-20120405.tar.bz2</string>
</map>
<key>name</key>
<string>darwin</string>
@@ -1122,9 +1122,9 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>46546c41c2580bd744b3a52586f68356</string>
+ <string>531dbd8b78d01301505900144ced7e7a</string>
<key>url</key>
- <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253142/arch/Linux/installer/llphysicsextensions-0.1-linux-20120405.tar.bz2</string>
+ <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253202/arch/Linux/installer/llphysicsextensions-0.1-linux-20120406.tar.bz2</string>
</map>
<key>name</key>
<string>linux</string>
@@ -1134,9 +1134,9 @@
<key>archive</key>
<map>
<key>hash</key>
- <string>0d88d46c225f5f6dd4d2c34bf7c99899</string>
+ <string>61b220db9104e513b8f967c86f084281</string>
<key>url</key>
- <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253142/arch/CYGWIN/installer/llphysicsextensions-0.1-windows-20120405.tar.bz2</string>
+ <string>http://s3-proxy.lindenlab.com/private-builds-secondlife-com/hg/repo/stinson_llpathinglibrary/rev/253202/arch/CYGWIN/installer/llphysicsextensions-0.1-windows-20120405.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index 0c44399840..8a37082fc6 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -95,7 +95,6 @@ BOOL LLFloaterPathfindingConsole::postBuild()
mShowWorldCheckBox = findChild<LLCheckBoxCtrl>("show_world");
llassert(mShowWorldCheckBox != NULL);
- mShowWorldCheckBox->setCommitCallback(boost::bind(&LLFloaterPathfindingConsole::onShowWorldToggle, this));
mShowXRayCheckBox = findChild<LLCheckBoxCtrl>("x-ray");
llassert(mShowXRayCheckBox != NULL);
@@ -595,22 +594,6 @@ void LLFloaterPathfindingConsole::onShowWalkabilitySet()
}
}
-void LLFloaterPathfindingConsole::onShowWorldToggle()
-{
- BOOL checkBoxValue = mShowWorldCheckBox->get();
-
- LLPathingLib *llPathingLibInstance = LLPathingLib::getInstance();
- if (llPathingLibInstance != NULL)
- {
- llPathingLibInstance->setRenderWorld(checkBoxValue);
- }
- else
- {
- mShowWorldCheckBox->set(FALSE);
- llwarns << "cannot find LLPathingLib instance" << llendl;
- }
-}
-
void LLFloaterPathfindingConsole::onShowXRayToggle()
{
//nothing to do (xray parameter not stored in pathing lib
diff --git a/indra/newview/llfloaterpathfindingconsole.h b/indra/newview/llfloaterpathfindingconsole.h
index 2bec5399f5..4f86392e4b 100644
--- a/indra/newview/llfloaterpathfindingconsole.h
+++ b/indra/newview/llfloaterpathfindingconsole.h
@@ -136,7 +136,6 @@ private:
virtual ~LLFloaterPathfindingConsole();
void onShowWalkabilitySet();
- void onShowWorldToggle();
void onShowXRayToggle();
void onCharacterWidthSet();
void onCharacterTypeSwitch();