@@ -122,9 +122,9 @@ namespace
122122class LLQueuedScriptAssetUpload : public LLScriptAssetUpload
123123{
124124public:
125- LLQueuedScriptAssetUpload (LLUUID taskId, LLUUID itemId, LLUUID assetId, TargetType_t targetType ,
125+ LLQueuedScriptAssetUpload (LLUUID taskId, LLUUID itemId, LLUUID assetId, std::string compileTarget ,
126126 bool isRunning, std::string scriptName, LLUUID queueId, LLUUID exerienceId, taskUploadFinish_f finish) :
127- LLScriptAssetUpload (taskId, itemId, targetType , isRunning,
127+ LLScriptAssetUpload (taskId, itemId, compileTarget , isRunning,
128128 exerienceId, std::string(), finish, nullptr ),
129129 mScriptName (scriptName),
130130 mQueueId (queueId)
@@ -183,9 +183,7 @@ struct LLScriptQueueData
183183
184184// Default constructor
185185LLFloaterScriptQueue::LLFloaterScriptQueue (const LLSD& key) :
186- LLFloater(key),
187- mDone(false ),
188- mMono(false )
186+ LLFloater(key)
189187{
190188
191189}
@@ -197,7 +195,7 @@ LLFloaterScriptQueue::~LLFloaterScriptQueue()
197195
198196bool LLFloaterScriptQueue::postBuild ()
199197{
200- childSetAction (" close" ,onCloseBtn,this );
198+ childSetAction (" close" , onCloseBtn, this );
201199 getChildView (" close" )->setEnabled (false );
202200 setVisible (true );
203201 return true ;
@@ -222,8 +220,8 @@ bool LLFloaterScriptQueue::start()
222220
223221 LLStringUtil::format_map_t args;
224222 args[" [START]" ] = mStartString ;
225- args[" [COUNT]" ] = llformat (" %d" , mObjectList .size ());
226- buffer = getString (" Starting" , args);
223+ args[" [COUNT]" ] = llformat (" %d" , mObjectList .size ());
224+ buffer = getString (" Starting" , args);
227225
228226 getChild<LLScrollListCtrl>(" queue output" )->addSimpleElement (buffer, ADD_BOTTOM);
229227
@@ -276,8 +274,8 @@ bool LLFloaterCompileQueue::hasExperience( const LLUUID& id ) const
276274 return mExperienceIds .find (id) != mExperienceIds .end ();
277275}
278276
279- // // Attempt to record this asset ID. If it can not be inserted into the set
280- // // then it has already been processed so return false.
277+ // Attempt to record this asset ID. If it can not be inserted into the set
278+ // then it has already been processed so return false.
281279
282280void LLFloaterCompileQueue::handleHTTPResponse (std::string pumpName, const LLSD &expresult)
283281{
@@ -359,7 +357,7 @@ bool LLFloaterCompileQueue::processScript(LLHandle<LLFloaterCompileQueue> hfloat
359357 LLCheckedHandle<LLFloaterCompileQueue> floater (hfloater);
360358 // Dereferencing floater may fail. If they do they throw LLExeceptionStaleHandle.
361359 // which is caught in objectScriptProcessingQueueCoro
362- bool monocompile = floater->mMono ;
360+ std::string compile_target = floater->mCompileTarget ;
363361
364362 // Initial test to see if we can (or should) attempt to compile the script.
365363 LLInventoryItem *item = dynamic_cast <LLInventoryItem *>(inventory);
@@ -470,7 +468,7 @@ bool LLFloaterCompileQueue::processScript(LLHandle<LLFloaterCompileQueue> hfloat
470468 LLResourceUploadInfo::ptr_t uploadInfo (new LLQueuedScriptAssetUpload (object->getID (),
471469 inventory->getUUID (),
472470 assetId,
473- monocompile ? LLScriptAssetUpload::MONO : LLScriptAssetUpload::LSL2 ,
471+ compile_target ,
474472 true ,
475473 inventory->getName (),
476474 LLUUID (),
0 commit comments