aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-08 18:04:51 +1000
committerDavid Walter Seikel2014-03-08 18:04:51 +1000
commit127580741c965579917f05998fd4948f8b4cd47a (patch)
tree0d5b597c1e19043b7e66abdc619f288d4ec907b3
parentClarify warpPos being public domain by the original author. (diff)
downloadNPC-tool-127580741c965579917f05998fd4948f8b4cd47a.zip
NPC-tool-127580741c965579917f05998fd4948f8b4cd47a.tar.gz
NPC-tool-127580741c965579917f05998fd4948f8b4cd47a.tar.bz2
NPC-tool-127580741c965579917f05998fd4948f8b4cd47a.tar.xz
Temporary work around for "descriptions make menus stop working".
-rw-r--r--onefang's_utilities.lsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/onefang's_utilities.lsl b/onefang's_utilities.lsl
index bba63f8..010ce7f 100644
--- a/onefang's_utilities.lsl
+++ b/onefang's_utilities.lsl
@@ -1149,7 +1149,8 @@ default
1149 string desc = llList2String(llGetObjectDetails(llGetLinkKey(llDetectedLinkNumber(i)), [OBJECT_DESC]), 0); 1149 string desc = llList2String(llGetObjectDetails(llGetLinkKey(llDetectedLinkNumber(i)), [OBJECT_DESC]), 0);
1150 1150
1151 // If there's a description, then it's likely a scriptlet. 1151 // If there's a description, then it's likely a scriptlet.
1152 if ("" != desc) 1152 // TODO - need a new way to do this, ANY description makes menus not work.
1153 if (("" != desc) && (" " != desc))
1153 myListen(0, llKey2Name(id), id, desc); // TODO - the problem here is that the first argument is a channel, 1154 myListen(0, llKey2Name(id), id, desc); // TODO - the problem here is that the first argument is a channel,
1154 // and we don't know which channel to fake. 1155 // and we don't know which channel to fake.
1155 // Maybe use the debug channel as a wildcard? 1156 // Maybe use the debug channel as a wildcard?