secondlife / jira-archive

2 stars 0 forks source link

[BUG-232858] [PBR] - HUD hover text not the same color as specified. #10046

Closed sl-service-account closed 5 months ago

sl-service-account commented 1 year ago

Information

On the PBR viewer, HUD hovertext is not the same color as specified.

Drop the following code into a cube and wear it on an HUD slot:

default
{
    state_entry()
    {
        llSetTimerEvent(0.5);
    }
    on_rez(integer i)
    {
        llResetScript();
    }
    timer()
    {
        list GLPP = llGetLinkPrimitiveParams(LINK_THIS,[PRIM_COLOR,0]);
        llSetText(llGetObjectName(),llList2Vector(GLPP,0),llList2Float(GLPP,1));
    }
} 

The above code sets the color of the settext the same color as face 0 of the HUD.

Notice in the included video the color difference between settext and prim color when the test object is worn as an HUD versus when it is rezzed.

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-232858 | | Summary | [PBR] - HUD hover text not the same color as specified. | | Type | Bug | | Priority | Unset | | Status | Closed | | Resolution | Triaged | | Labels | pbr | | Reporter | Lucia Nightfire (lucia.nightfire) | | Created at | 2022-11-03T22:54:31Z | | Updated at | 2023-11-28T19:23:08Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-11-03T18:51:44.798-0500', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'On the PBR viewer, HUD hovertext is not the same color as specified.\r\n\r\nDrop the following code into a cube and wear it on an HUD slot:\r\n', 'What were you doing when it happened?': '?', 'What were you expecting to happen instead?': '?', } ```
sl-service-account commented 1 year ago

Dan Linden commented at 2022-11-03T23:51:45Z

Thank you for the report, Lucia!