Skip to content

Commit

Permalink
Syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lickx committed Mar 29, 2023
1 parent 74c59ea commit ef3a62f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/apps/oc_meshlabel.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// Debug(string sStr) { llOwnerSay("Debug ["+llGetScriptName()+"]: " + sStr); }

string g_sAppVersion = "2023.03.04";
string g_sAppVersion = "2023.03.29";

string g_sParentMenu = "Apps";
string g_sSubMenu = "Label";
Expand Down Expand Up @@ -65,7 +65,7 @@ string g_sCharmap = "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ

list g_lFonts;

key g_sFontTexture = "font_System 01";
string g_sFontTexture = "font_System 01";

integer x = 45;
integer y = 19;
Expand Down Expand Up @@ -277,7 +277,7 @@ UserCommand(integer iAuth, string sStr, key kAv)
integer iIndex = llListFindList(g_lFonts, [font]);
if (iIndex != -1) {
g_sFontTexture = llList2String(g_lFonts, iIndex + 1);
llMessageLinked(LINK_SAVE, LM_SETTING_SAVE, g_sSettingToken + "font=" + g_sFontTexture, "");
llMessageLinked(LINK_SAVE, LM_SETTING_SAVE, g_sSettingToken+"font="+g_sFontTexture, "");
} else FontMenu(kAv, iAuth);
} else if (sAction == "color") {
string sColor= llDumpList2String(llDeleteSubList(lParams,0,1)," ");
Expand Down
4 changes: 2 additions & 2 deletions src/device/oc_sys.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//on menu request, give dialog, with alphabetized list of submenus
//on listen, send submenu link message

string g_sCollarVersion="2023.02.13";
string g_sCollarVersion="2023.03.29";

key g_kWearer = NULL_KEY;

Expand Down Expand Up @@ -409,7 +409,7 @@ Stealth(integer iHide) {
integer iLink;
for (iLink = LINK_ROOT; iLink < llGetNumberOfPrims(); iLink++) {
// restore alpha's:
integer idx = llListFindList(g_lCacheAlpha, iLink);
integer idx = llListFindList(g_lCacheAlpha, [iLink]);
if (idx != -1 && (idx % 2 == 0)) {
float fAlpha = llList2Float(g_lCacheAlpha, idx+1);
llSetLinkAlpha(iLink, fAlpha, ALL_SIDES);
Expand Down

0 comments on commit ef3a62f

Please sign in to comment.