Skip to content

Commit

Permalink
Merge pull request #1024 from OpenCollarTeam/Medea-Destiny-patch-8
Browse files Browse the repository at this point in the history
Update oc_undress.lsl
  • Loading branch information
SilkieSabra authored May 15, 2024
2 parents 4649881 + ab49641 commit 4fa4f98
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Apps/oc_undress.lsl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Medea (Medea Destiny)
to handle this cleanly.
* Added short llSleep before remenuing after detaching a clothing layer to ensure the viewer
removes the layer before replying to the getoutfit command.
* Dec 2023 * Clothing locks now get cleared on RLV_CLEAR/Safeword function.
et al.
Licensed under the GPLv2. See LICENSE for full details.
https://github.com/OpenCollarTeam/OpenCollar
Expand Down Expand Up @@ -58,7 +59,7 @@ integer MENUNAME_RESPONSE = 3001;

//integer RLV_CMD = 6000;
integer RLV_REFRESH = 6001;//RLV plugins should reinstate their restrictions upon receiving this message.

integer RLV_CLEAR = 6002;//RLV plugins should clear their restriction lists upon receiving this message.
//integer RLV_OFF = 6100; // send to inform plugins that RLV is disabled now, no message or key needed
//integer RLV_ON = 6101; // send to inform plugins that RLV is enabled now, no message or key needed

Expand Down Expand Up @@ -336,7 +337,11 @@ state active
ApplyMask();
}
} else if(iNum == RLV_REFRESH)ApplyMask();
else if(iNum == LM_SETTING_DELETE){
else if(iNum == RLV_CLEAR) {
llMessageLinked(LINK_SET, LM_SETTING_SAVE, "undress_mask=","");
g_lMasks = [];
ApplyMask();
} else if(iNum == LM_SETTING_DELETE){
// This is recieved back from settings when a setting is deleted
//integer ind = llListFindList(g_lSettingsReqs, [sStr]);
//if(ind!=-1)g_lSettingsReqs = llDeleteSubList(g_lSettingsReqs, ind,ind);
Expand Down

0 comments on commit 4fa4f98

Please sign in to comment.