Fix OpenSim stumbling over bool <-> BOOL

meow-7.2.2
Ansariel 2016-06-15 13:01:55 +02:00
parent d10a87d6fb
commit e793377cf7
1 changed files with 4 additions and 1 deletions

View File

@ -667,7 +667,10 @@ LLSD LLScriptAssetUpload::generatePostBody()
{
body["task_id"] = getTaskId();
body["item_id"] = getItemId();
body["is_script_running"] = getIsRunning();
// <FS:Ansariel> OpenSim expects an integer here...
//body["is_script_running"] = getIsRunning();
body["is_script_running"] = (BOOL)getIsRunning();
// </FS:Ansariel>
body["target"] = (getTargetType() == MONO) ? "mono" : "lsl2";
body["experience"] = getExerienceId();
}