Feature Request: Show how many scripts are actually running when doing a script count (also shows mono!)

This commit is contained in:
Inusaito Sayori
2014-06-17 11:39:03 -04:00
parent 5490a992ca
commit 1051fd9d42
5 changed files with 71 additions and 7 deletions

View File

@@ -3008,6 +3008,7 @@ class LLScriptCount : public view_listener_t
{
if (LLViewerObject* object = LLSelectMgr::getInstance()->getSelection()->getPrimaryObject())
{
if (ScriptCounter::getInstance(object->getID())) return true;
ScriptCounter* sc = new ScriptCounter(false, object);
sc->requestInventories();
// sc will destroy itself
@@ -3022,6 +3023,7 @@ class LLScriptDelete : public view_listener_t
{
if (LLViewerObject* object = LLSelectMgr::getInstance()->getSelection()->getPrimaryObject())
{
if (ScriptCounter::getInstance(object->getID())) return true;
ScriptCounter* sc = new ScriptCounter(true, object);
sc->requestInventories();
// sc will destroy itself