summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-09-19 12:11:39 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-09-19 12:11:39 +0300
commit56060218c3f542b28eaf305b42ecdd52e282cb59 (patch)
tree1479f7e4d0d0c14fe5affe5c216b32af71fa14a5
parentc94496db9ea8ae872dd3d40b53a6329571322629 (diff)
MAINT-6733 FIXED On build disabled land, the build button is enabled when left clicking any touchable object.
-rw-r--r--indra/newview/lltoolmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltoolmgr.cpp b/indra/newview/lltoolmgr.cpp
index b0e3b5bf89..f6eb290bc3 100644
--- a/indra/newview/lltoolmgr.cpp
+++ b/indra/newview/lltoolmgr.cpp
@@ -267,7 +267,7 @@ bool LLToolMgr::canEdit()
bool LLToolMgr::buildEnabledOrActive()
{
- return inEdit() || canEdit();
+ return LLFloaterReg::instanceVisible("build") || canEdit();
}
void LLToolMgr::toggleBuildMode(const LLSD& sdname)