Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

[BUG-229908] [EEP] Build floater shows incorrect light colour values/incorrect colour set for light #7678

Open
4 tasks
sl-service-account opened this issue Dec 22, 2020 · 2 comments

Comments

@sl-service-account
Copy link

sl-service-account commented Dec 22, 2020

What just happened?

Put this into a script in a empty prim:-

    vector test_value=<1.0,0.75,0.5>;

    llSetColor(test_value,ALL_SIDES);

    llSetLinkPrimitiveParams(LINK_THIS,[PRIM_POINT_LIGHT,TRUE,test_value,0.1,0.1,0.1]);

    list l=llGetLinkPrimitiveParams(LINK_THIS,[PRIM_POINT_LIGHT]);

    llOwnerSay("Colour read back "+llList2String(l,1));

Click it. Observe that the colour read back is as expected. Review the colour set on the prim and the light settings with the build floater. They will look as shown in the attached image (prim colour on the left, light colour on the right). Reading them back by script will return the expected values, but the light colour in the build floater is incorrect (and on the prim too?)

What were you doing when it happened?

Trying this in a more complex script

What were you expecting to happen instead?

The reported value in the build floater should be the same as that written to and read back from the prim

Other information

Attachments

Links

Duplicates

Related

Original Jira Fields
Field Value
Issue BUG-229908
Summary [EEP] Build floater shows incorrect light colour values/incorrect colour set for light
Type Bug
Priority Unset
Status Accepted
Resolution Triaged
Labels whirly-eep
Created at 2020-12-22T22:15:54Z
Updated at 2021-10-28T17:13:51Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'Date of First Response': '2021-01-07T13:08:59.440-0600',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'System': 'SL Viewer',
  'Target Viewer Version': 'viewer-development',
  'What just happened?': 'Put this into a script in a empty prim:-\r\n\r\n        vector test_value=<1.0,0.75,0.5>;\r\n\r\n        llSetColor(test_value,ALL_SIDES);\r\n\r\n        llSetLinkPrimitiveParams(LINK_THIS,[PRIM_POINT_LIGHT,TRUE,test_value,0.1,0.1,0.1]);\r\n\r\n        list l=llGetLinkPrimitiveParams(LINK_THIS,[PRIM_POINT_LIGHT]);\r\n\r\n        llOwnerSay("Colour read back "+llList2String(l,1));\r\n\r\n\r\nClick it. Observe that the colour read back is as expected. Review the colour set on the prim and the light settings with the build floater. They will look as shown in the attached image (prim colour on the left, light colour on the right). Reading them back by script will return the expected values, but the light colour in the build floater is incorrect (and on the prim too?)',
  'What were you doing when it happened?': 'Trying this in a more complex script',
  'What were you expecting to happen instead?': 'The reported value in the build floater should be the same as that written to and read back from the prim',
}
@sl-service-account
Copy link
Author

Whirly Fizzle commented at 2021-01-07T19:08:59Z

Also repros on Firestorm-EEP
https://prnt.sc/wigwua

@sl-service-account
Copy link
Author

Dan Linden commented at 2021-01-08T22:32:19Z

Thank you for the report, Andy!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant