Updated LLViewerParcelMgr.

Added LLViewerParcelMgr::setTeleportFinishedCallback, setTeleportFailedCallback. Not hooked into anything yet, however.
agentCanBuild, agentCanFly, etc, renamed.
This commit is contained in:
Shyotl
2011-08-19 02:15:22 -05:00
parent 13e0359c6e
commit 863ab7fa6b
7 changed files with 193 additions and 34 deletions

View File

@@ -300,7 +300,7 @@ void LLToolBar::refresh()
childSetEnabled("fly_btn", (gAgent.canFly() || gAgent.getFlying() || gSavedSettings.getBOOL("AscentFlyAlwaysEnabled")) && !sitting );
childSetEnabled("build_btn", (LLViewerParcelMgr::getInstance()->agentCanBuild() || gSavedSettings.getBOOL("AscentBuildAlwaysEnabled")) );
childSetEnabled("build_btn", (LLViewerParcelMgr::getInstance()->allowAgentBuild() || gSavedSettings.getBOOL("AscentBuildAlwaysEnabled")) );
// Check to see if we're in build mode
BOOL build_mode = LLToolMgr::getInstance()->inEdit();