secondlife / jira-archive

2 stars 0 forks source link

[BUG-233042] "Align planar faces" on cone leaves texture in bad state #10202

Open sl-service-account opened 1 year ago

sl-service-account commented 1 year ago

What just happened?

In the Texture tab or the build floater, setting "Mapping" to "Planar", then clicking "Align planar faces" on a cone causes the cone to become a flat color. If you uncheck "Align planar faces" or set "Mapping" back to "Default", the cone is still stuck that way.

What were you doing when it happened?

A default-textured (wood) cone rezzed from the build menu can be used to reproduce this behavior.

What were you expecting to happen instead?

It should be possible to undo UV mapping effects from the same build menu that they were set from.

Other information

Workaround:

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-233042 | | Summary | "Align planar faces" on cone leaves texture in bad state | | Type | New Feature Request | | Priority | Unset | | Status | Accepted | | Resolution | Accepted | | Created at | 2022-12-07T21:48:48Z | | Updated at | 2022-12-14T19:04:23Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2022-12-09T12:52:15.434-0600', 'How would you like the feature to work?': '.', "Is there anything you'd like to add?": 'Workaround:\r\n\r\n- In the Object tab, set Taper X and Taper Y to 0\r\n- In the Texture tab, toggle "Align planar faces" on and off, then set "Mapping" back to desired value, to restore texture\r\n- In the Object tab, set Taper X and Taper Y back to 1 to restore shape', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'In the Texture tab or the build floater, setting "Mapping" to "Planar", then clicking "Align planar faces" on a cone causes the cone to become a flat color. If you uncheck "Align planar faces" or set "Mapping" back to "Default", the cone is still stuck that way.', 'What were you doing when it happened?': 'A default-textured (wood) cone rezzed from the build menu can be used to reproduce this behavior.', 'What were you expecting to happen instead?': 'It should be possible to undo UV mapping effects from the same build menu that they were set from.', 'Why is this feature important to you? How would it benefit the community?': '.', } ```
sl-service-account commented 1 year ago

Dan Linden commented at 2022-12-09T18:52:15Z

What's happening here is that the texture mapping of face 0, the top face which is squished to a point, is used for all faces. So the center pixel of the texture on the top face is spread across all the other faces.

The Apply planar faces checkbox is actually a button! See BUG-225489. It may be worth reviewing.

Adding undo would be a feature request.

Moving this to feature request.

sl-service-account commented 1 year ago

Spidey Linden commented at 2022-12-14T19:04:20Z

Issue accepted. We have no estimate when it may be implemented. Please see future release notes for this fix.