diff options
author | McCabe Maxsted | 2010-01-08 08:39:02 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-01-08 08:39:02 -0700 |
commit | 66a5b88375154041b85bd1bdc4a3c7fe080b07e5 (patch) | |
tree | d1ac4c692952046459bef80eeaa5adb72ffceea0 /linden/indra/newview/llpreviewscript.cpp | |
parent | Fixed GStreamer missing libpng12-0.dll (TODO: update gstreamer) (diff) | |
download | meta-impy-66a5b88375154041b85bd1bdc4a3c7fe080b07e5.zip meta-impy-66a5b88375154041b85bd1bdc4a3c7fe080b07e5.tar.gz meta-impy-66a5b88375154041b85bd1bdc4a3c7fe080b07e5.tar.bz2 meta-impy-66a5b88375154041b85bd1bdc4a3c7fe080b07e5.tar.xz |
Applied SNOW-378: debug setting to compile inventory scripts in Mono
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpreviewscript.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llpreviewscript.cpp b/linden/indra/newview/llpreviewscript.cpp index ccec75b..2718c2f 100644 --- a/linden/indra/newview/llpreviewscript.cpp +++ b/linden/indra/newview/llpreviewscript.cpp | |||
@@ -1418,7 +1418,14 @@ void LLPreviewLSL::uploadAssetViaCaps(const std::string& url, | |||
1418 | llinfos << "Update Agent Inventory via capability" << llendl; | 1418 | llinfos << "Update Agent Inventory via capability" << llendl; |
1419 | LLSD body; | 1419 | LLSD body; |
1420 | body["item_id"] = item_id; | 1420 | body["item_id"] = item_id; |
1421 | body["target"] = "lsl2"; | 1421 | if (gSavedSettings.getBOOL("SaveInventoryScriptsAsMono")) |
1422 | { | ||
1423 | body["target"] = "mono"; | ||
1424 | } | ||
1425 | else | ||
1426 | { | ||
1427 | body["target"] = "lsl2"; | ||
1428 | } | ||
1422 | LLHTTPClient::post(url, body, new LLUpdateAgentInventoryResponder(body, filename, LLAssetType::AT_LSL_TEXT)); | 1429 | LLHTTPClient::post(url, body, new LLUpdateAgentInventoryResponder(body, filename, LLAssetType::AT_LSL_TEXT)); |
1423 | } | 1430 | } |
1424 | 1431 | ||