FIRE-22962: Move script uploaded handling to idle callback as well

master
Ansariel 2018-08-27 01:29:05 +02:00
parent abd14b9ce2
commit e94cf15422
2 changed files with 6 additions and 1 deletions

View File

@ -81,7 +81,7 @@ private:
void uploadDone(LLUUID itemId, LLUUID taskId, LLUUID newAssetId, LLSD response)
{
FSLSLBridge::getInstance()->checkBridgeScriptName( );
FSLSLBridge::getInstance()->setTimerResult(FSLSLBridge::SCRIPT_UPLOAD_FINISHED);
}
//
@ -133,6 +133,10 @@ void FSLSLBridge::onIdle(void* userdata)
instance->setTimerResult(NO_TIMER);
}
break;
case SCRIPT_UPLOAD_FINISHED:
instance->checkBridgeScriptName();
instance->setTimerResult(NO_TIMER);
break;
case NO_TIMER:
default:
break;

View File

@ -59,6 +59,7 @@ public:
START_CREATION_FINISHED,
CLEANUP_FINISHED,
REATTACH_FINISHED,
SCRIPT_UPLOAD_FINISHED,
NO_TIMER
};