aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-01-08 08:39:02 -0700
committerMcCabe Maxsted2010-01-08 08:39:02 -0700
commit66a5b88375154041b85bd1bdc4a3c7fe080b07e5 (patch)
treed1ac4c692952046459bef80eeaa5adb72ffceea0 /linden/indra/newview/llpreviewscript.cpp
parentFixed GStreamer missing libpng12-0.dll (TODO: update gstreamer) (diff)
downloadmeta-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.cpp9
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