Skip to content
Snippets Groups Projects
Commit 1f5c2c05 authored by Jonathan Yap's avatar Jonathan Yap
Browse files

STORM-1808 Indicate ability to build

parent 289d756e
No related branches found
No related tags found
No related merge requests found
......@@ -610,6 +610,7 @@ Jonathan Yap
STORM-1788
STORM-1799
STORM-1796
STORM-1808
Kadah Coba
STORM-1060
Jondan Lundquist
......
......@@ -37,6 +37,8 @@
tooltip_ref="Command_Build_Tooltip"
execute_function="Build.Toggle"
execute_parameters="build"
is_enabled_function="Agent.IsActionAllowed"
is_enabled_parameters="build"
is_running_function="Floater.IsOpen"
is_running_parameters="build"
/>
......
......@@ -171,7 +171,7 @@ bool LLAgent::isActionAllowed(const LLSD& sdname)
if (param == "build")
{
retval = gAgent.canEditParcel();
retval = LLViewerParcelMgr::getInstance()->allowAgentBuild();
}
else if (param == "speak")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment