STORM-173 : merge with viewer-development

meow-7.2.2
Merov Linden 2010-10-25 13:45:06 -07:00
commit 0977ecca96
1 changed files with 5 additions and 0 deletions

View File

@ -4160,6 +4160,11 @@ class LLObjectEnableReturn : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
if (LLSelectMgr::getInstance()->getSelection()->isEmpty())
{
// Do not enable if nothing selected
return false;
}
#ifdef HACKED_GODLIKE_VIEWER
bool new_value = true;
#else