diff options
| author | Todd Stinson <stinson@lindenlab.com> | 2012-04-05 17:17:06 -0700 | 
|---|---|---|
| committer | Todd Stinson <stinson@lindenlab.com> | 2012-04-05 17:17:06 -0700 | 
| commit | 0693defb80489a48f776fc73ee9bba7034d3d2b1 (patch) | |
| tree | 6f547aff81d3a657e085ba0482d75d3502b26612 /indra/newview | |
| parent | 49e455d0c64c565d243a9a1fbbe47acc8031fb65 (diff) | |
Removing the onShowWorldToggle callback as it is no longer required.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llfloaterpathfindingconsole.cpp | 17 | ||||
| -rw-r--r-- | indra/newview/llfloaterpathfindingconsole.h | 1 | 
2 files changed, 0 insertions, 18 deletions
| 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();
 | 
