STORM-2098 - Don't enable object edit for an invalid agent

meow-7.2.2
Cinder 2014-12-28 14:18:29 -07:00
parent 4ec9bce3c2
commit a6dfe5a64e
2 changed files with 3 additions and 0 deletions

View File

@ -325,6 +325,7 @@ Cinder Roxley
STORM-2036
STORM-2037
STORM-2053
STORM-2098
Clara Young
Coaldust Numbers
VWR-1095

View File

@ -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