[opensource-dev] Review Request: Fixed snapping of rotation in the edge-on case
Oz Linden
oz at lindenlab.com
Tue Nov 27 08:11:54 PST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/608/#review1277
-----------------------------------------------------------
Ship it!
Ship It!
- Oz Linden
On Nov. 26, 2012, 7:58 p.m., Cron Stardust wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/608/
> -----------------------------------------------------------
>
> (Updated Nov. 26, 2012, 7:58 p.m.)
>
>
> Review request for Viewer.
>
>
> Description
> -------
>
> Simply had to guard the snapping code, making sure that the last "else" case was preserved when either the outer or the inner tests failed.
>
> Careful analysis and testing was performed to determine what clauses could/should be inside the guarding if statement, which led to the discovery that the else clause had to be preserved outside under a separate test. Code structure was carefully designed to match the other llManip* classes in similar areas.
>
>
> This addresses bug STORM-1919.
> https://jira.secondlife.com/browse/STORM-1919
>
>
> Diffs
> -----
>
> doc/contributions.txt 9505109727a3e948b11564910fd58ee93503b3df
> indra/newview/llmaniprotate.cpp 9505109727a3e948b11564910fd58ee93503b3df
>
> Diff: http://codereview.secondlife.com/r/608/diff/
>
>
> Testing
> -------
>
> Tested all rotation cases (edge-on & facing multiplied with snapping enabled & disabled) in Firestorm - however this area of code has not been modified in either viewer since ancient times and should therefore cause no ill effects.
>
>
> Thanks,
>
> Cron Stardust
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20121127/d12f4401/attachment.htm
More information about the opensource-dev
mailing list