secondlife / jira-archive

3 stars 0 forks source link

[BUG-232694] PRIM_ALPHA_MODE_MASK #9917

Open sl-service-account opened 2 years ago

sl-service-account commented 2 years ago

What just happened?

one of the 3 objects linked which was supposed to disappear (script command was applying a transparency texture + setting the alpha mask mode (120) was set to blank. No transparency texture, no alpha mode.

What were you doing when it happened?

pressing buttons of the textures hud I created

What were you expecting to happen instead?

the alpha modemask (number 120) being applied on skirt and making it disappear

Other information


integer     CHANNEL         = -15;

default
{
    state_entry() {
        llListen(CHANNEL, "", llGetOwner(), "");

    }

    listen(integer channel, string name, key id, string message) 
    {

         if(message =="1"){}

        if(message =="3")// shape 1
        {
         llSetLinkPrimitiveParamsFast(1,[ PRIM_TEXTURE, ALL_SIDES, "b0b04ed6-edcc-3114-a43b-21dee5fa464d", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);
 llSetLinkPrimitiveParamsFast(2,[ PRIM_TEXTURE, ALL_SIDES, "8606484d-1a96-99d6-e97e-e027dd9ea7d3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);
llSetLinkPrimitiveParamsFast(2, [PRIM_ALPHA_MODE, ALL_SIDES, PRIM_ALPHA_MODE_MASK, 120]);

         }
        if(message =="4")// shape 2
        {

 llSetLinkPrimitiveParamsFast(1,[ PRIM_TEXTURE, ALL_SIDES, "4b513e67-f15f-c2d3-7c39-6b2471f9239b", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);
 llSetLinkPrimitiveParamsFast(2,[ PRIM_TEXTURE, ALL_SIDES, "8606484d-1a96-99d6-e97e-e027dd9ea7d3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);
llSetLinkPrimitiveParamsFast(2, [PRIM_ALPHA_MODE, ALL_SIDES, PRIM_ALPHA_MODE_MASK, 120]);
}
  }
}  

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-232694 | | Summary | PRIM_ALPHA_MODE_MASK | | Type | Bug | | Priority | Unset | | Status | Needs More Info | | Resolution | Unresolved | | Reporter | Gallatis (gallatis) | | Created at | 2022-09-25T20:02:39Z | | Updated at | 2022-09-27T17:42:29Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-09-27T12:42:23.616-0500', "Is there anything you'd like to add?": 'integer CHANNEL = -15;\r\n\r\ndefault\r\n{\r\n state_entry() {\r\n llListen(CHANNEL, "", NULL_KEY, "");\r\n \r\n }\r\n\r\n listen(integer channel, string name, key id, string message) \r\n {\r\n \r\n if(message =="1"){}\r\n\r\n \r\n if(message =="3")// shape 1\r\n {\r\n llSetLinkPrimitiveParamsFast(1,[ PRIM_TEXTURE, ALL_SIDES, "b0b04ed6-edcc-3114-a43b-21dee5fa464d", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);\r\n llSetLinkPrimitiveParamsFast(2,[ PRIM_TEXTURE, ALL_SIDES, "8606484d-1a96-99d6-e97e-e027dd9ea7d3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);\r\nllSetLinkPrimitiveParamsFast(2, [PRIM_ALPHA_MODE, ALL_SIDES, PRIM_ALPHA_MODE_MASK, 120]);\r\n\r\n\r\n }\r\n if(message =="4")// shape 2\r\n {\r\n \r\n llSetLinkPrimitiveParamsFast(1,[ PRIM_TEXTURE, ALL_SIDES, "4b513e67-f15f-c2d3-7c39-6b2471f9239b", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);\r\n llSetLinkPrimitiveParamsFast(2,[ PRIM_TEXTURE, ALL_SIDES, "8606484d-1a96-99d6-e97e-e027dd9ea7d3", <1.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 0.0 ]);\r\nllSetLinkPrimitiveParamsFast(2, [PRIM_ALPHA_MODE, ALL_SIDES, PRIM_ALPHA_MODE_MASK, 120]);\r\n}\r\n }\r\n} \r\n\r\n\r\n', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'one of the 3 objects linked which was supposed to disappear (script command was applying a transparency texture + setting the alpha mask mode (120) was set to blank. No transparency texture, no alpha mode.', 'What were you doing when it happened?': 'pressing buttons of the textures hud I created', 'What were you expecting to happen instead?': 'the alpha modemask (number 120) being applied on skirt and making it disappear', 'Where': 'http://maps.secondlife.com/secondlife/Holm/155/213/3001', } ```
sl-service-account commented 2 years ago

Dan Linden commented at 2022-09-27T17:42:24Z

Hi Gallatis, We are not able to duplicate the bug using the script you provided. Can you share a copy of the dress and HUD with me or provide a link to where we can acquire / buy it?

This may be a duplicate of BUG-11333.

Thank you, Dan