secondlife / jira-archive

2 stars 0 forks source link

[BUG-255] Align Planar Faces function is misaligning textures ONLY on mesh enabled viewers #11836

Open sl-service-account opened 11 years ago

sl-service-account commented 11 years ago

This bug reproduces on all mesh enabled viewers, the official Viewer 3 and TPV viewers that are mesh enabled, both V1 based and V3 based.

It does not reproduce on any pre mesh viewer, both V3 based or V1 based, including 1.23, Snowglobe, premesh official Viewer 2/3 versions or any pre mesh TPV.

h4.Steps To Reproduce

Observe that the horizontal and vertical "Repeats Per Meter" parameters on both prims' top faces should be 2.000 (make sure select face is enabled and click on each prims upper face in turn)

http://i.imgur.com/0G9nU.png

Attachments

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-255 | | Summary | Align Planar Faces function is misaligning textures ONLY on mesh enabled viewers | | Type | Bug | | Priority | Unset | | Status | Accepted | | Resolution | Released | | Reporter | Whirly Fizzle (whirly.fizzle) | | Created at | 2012-09-30T01:34:31Z | | Updated at | 2014-03-10T21:29:16Z | ``` { 'Business Unit': ['Platform'], 'Date of First Response': '2012-09-29T23:20:43.019-0500', "Is there anything you'd like to add?": 'my brain hurts', 'System': 'SL Viewer', 'Target Viewer Version': 'viewer-development', 'What just happened?': 'will fill in soon...', 'What were you doing when it happened?': 'Please can someone fix this form.....', 'What were you expecting to happen instead?': 'a', } ```
sl-service-account commented 11 years ago

MartinRJ Fayray commented at 2012-09-30T04:20:43Z, updated at 2012-09-30T04:38:33Z

Hi Whirly, I cannot reproduce the above example.

Do I need to edit floater_tools.xml for the example above, too? ETA: Second Life 3.4.0 (264911) Sep 19 2012 11:15:02 (Second Life Release)

sl-service-account commented 11 years ago

Whirly Fizzle commented at 2012-09-30T04:39:28Z

No, no edit needed for the given example, the error is large enough to show (1.999 instead of 2.000)

sl-service-account commented 11 years ago

Whirly Fizzle commented at 2012-09-30T04:47:37Z, updated at 2012-09-30T05:32:50Z

Its actually easy to repro, just difficult to explain how to repro :D
Extra info on the Firestorm JIRA here: http://jira.phoenixviewer.com/browse/FIRE-7801 Phoenix viewer JIRA here: http://jira.phoenixviewer.com/browse/PHOE-3650

Siana from Singulatity viewer verified this bug affects her mesh enabled versions of the viewer but not her pre mesh versions. Premesh Phoenix does not have this bug, Mesh backported Phoenix has the bug Premesh Firestorm does not have this bug, Mesh Firestorm has the bug 1.23 and Snowglobe verified to not have the bug.

I was using the Second Life 3.4.0 (264911) release to repro while writing this.

sl-service-account commented 11 years ago

MartinRJ Fayray commented at 2012-09-30T04:48:02Z, updated at 2012-09-30T04:53:08Z

I've edited my above comment and attached a screenshot. I even tortured my prim even more and was not able to repro this. ETA: Let me try again= ) Could you point me out where I must change floater_tools.xml to display more than 3 digits. I suspect (since I cannot find the value "3" in that file, excepts for the 'features' tab), that this change to 5 digits is not done via xml but it's a change in the edit floater code, instead. I'm not totally sure, though!

sl-service-account commented 11 years ago

Whirly Fizzle commented at 2012-09-30T04:56:18Z

headesk just noticed an error in my repro, edited.

sl-service-account commented 11 years ago

MartinRJ Fayray commented at 2012-09-30T04:57:12Z

Indeed, when I torture my prim to the extreme, I can reproduce the bug! Thanks for pointing that out, Whirly! :)

sl-service-account commented 11 years ago

Whirly Fizzle commented at 2012-09-30T04:58:36Z

Yay! Got there in the end. We have all been banging out heads on this one today too :D

Now, try the same on good ol Snowglobe for example and you will see the bug doesnt reproduce.

sl-service-account commented 11 years ago

Whirly Fizzle commented at 2012-09-30T05:21:01Z

Could you point me out where I must change floater_tools.xml to display more than 3 digits

Using Second Life 3.4.0 (264911) release floater_tools.xml

Line 2810...

<spinner follows="left|top" height="19" initial_value="0" label="Horizontal (U)"

add in decimal_digits="5"

so that block becomes

<spinner decimal_digits="5" follows="left|top" height="19" initial_value="0" label="Horizontal (U)"

Do the same after line 2830 for vertical

Now you will see using my repro example above that the repeats actually change to 1.99982 ;)

sl-service-account commented 11 years ago

MartinRJ Fayray commented at 2012-09-30T05:37:25Z

Thank you, that works!