corrade-lsl-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 30  →  ?path2? @ 31
/source/heads-up-display/touch/touch.lsl
@@ -316,7 +316,7 @@
state scan {
state_entry() {
// DEBUG
llOwnerSay("Getting objects...");
llOwnerSay("Getting primitives...");
llInstantMessage(
wasKeyValueGet(
"corrade",
@@ -324,7 +324,7 @@
),
wasKeyValueEncode(
[
"command", "getobjectsdata",
"command", "getprimitivesdata",
"group", wasURLEscape(
wasKeyValueGet(
"group",
@@ -366,7 +366,7 @@
}
http_request(key id, string method, string body) {
llHTTPResponse(id, 200, "OK");
if(wasKeyValueGet("command", body) != "getobjectsdata" ||
if(wasKeyValueGet("command", body) != "getprimitivesdata" ||
wasKeyValueGet("success", body) != "True") {
// DEBUG
llOwnerSay("Unable to query primitives data: " +