Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update oc_undress.lsl #1024

Merged
merged 2 commits into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading