From 0693defb80489a48f776fc73ee9bba7034d3d2b1 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Thu, 5 Apr 2012 17:17:06 -0700 Subject: Removing the onShowWorldToggle callback as it is no longer required. --- indra/newview/llfloaterpathfindingconsole.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'indra/newview/llfloaterpathfindingconsole.cpp') 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("show_world"); llassert(mShowWorldCheckBox != NULL); - mShowWorldCheckBox->setCommitCallback(boost::bind(&LLFloaterPathfindingConsole::onShowWorldToggle, this)); mShowXRayCheckBox = findChild("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 -- cgit v1.2.3