secondlife / jira-archive

2 stars 0 forks source link

[BUG-228248] llColorPicker command for scripts #6369

Open sl-service-account opened 4 years ago

sl-service-account commented 4 years ago

How would you like the feature to work?

llColorPicker(integer channel); Invokes the native color picker.

Why is this feature important to you? How would it benefit the community?

Many mesh creations are complicated and difficult for a user to recolor, especially rigged mesh which can't be easily selected unless rezzed.

Many creators implement their own color pickers, which is time that could have been spent on the creations themselves. These implementations are often buggy, don't feel native, lacking in features such as entering values such as hex, rgb, hsl, and also have no access to the users Swatches.

I think that the inclusion of access to the native color picker would generally make this element of creating and customizing easier for the creator, and more useful for the user.

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-228248 | | Summary | llColorPicker command for scripts | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Reporter | Extrude Ragu (extrude.ragu) | | Created at | 2020-02-25T19:05:38Z | | Updated at | 2020-03-03T17:20:30Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'How would you like the feature to work?': 'llColorPicker(integer channel);\r\nInvokes the native color picker.\r\n- When the user changes the color, the color is spoken on specified channel as a vector, at a maximum rate of 1/4 of second if user is dragging controls around.\r\n- When the user presses OK, "OK" is sent on channel.\r\n- When the user presses Cancel, or clicks Close, "Cancel" is sent on channel.\r\n\r\n', 'Original Reporter': 'Extrude Ragu (extrude.ragu)', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': "Many mesh creations are complicated and difficult for a user to recolor, especially rigged mesh which can't be easily selected unless rezzed.\r\n\r\nMany creators implement their own color pickers, which is time that could have been spent on the creations themselves. These implementations are often buggy, don't feel native, lacking in features such as entering values such as hex, rgb, hsl, and also have no access to the users Swatches.\r\n\r\nI think that the inclusion of access to the native color picker would generally make this element of creating and customizing easier for the creator, and more useful for the user.", } ```
sl-service-account commented 4 years ago

Extrude Ragu commented at 2020-03-03T17:20:30Z

It occurred to me, re-reading this, that it might be useful to pass the initial color as a vector in case the user wants to copy an existing color from the dialog.

Something like llColorPicker(integer channel, vector initial_color);