STORM-173 : merge with viewer-development
commit
0977ecca96
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue