summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-01-06 11:05:55 -0500
committerOz Linden <oz@lindenlab.com>2015-01-06 11:05:55 -0500
commit29ccfc46b5c29368c0437131f5ac6c719fa841b6 (patch)
treea621d0faad6bb2923303910579d737d762e92a3f /indra
parent21c535635b955bf42713cfe726a51cdd49e8d53e (diff)
parenta6dfe5a64ef984aa1a3169c72b490983662f899f (diff)
merge changes for STORM-2098
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llviewermenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 3abeba4b43..e190119bcd 100755
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -2830,6 +2830,8 @@ BOOL enable_object_build(void*)
bool enable_object_edit()
{
+ if (!isAgentAvatarValid()) return false;
+
// *HACK: The new "prelude" Help Islands have a build sandbox area,
// so users need the Edit and Create pie menu options when they are
// there. Eventually this needs to be replaced with code that only