[Opensim-dev] Possible Error in 0.6.8-release source code that may be affecting open mantis issues
Frank Nichols
j.frank.nichols at gmail.com
Mon May 10 18:03:11 UTC 2010
This change appears to be in the 0.7 branch.
Frank
On Mon, May 10, 2010 at 10:39 AM, <capnjj at my-webhome.com> wrote:
> Hello list,
>
> I believe I have found an error in the 0.6.8-release source code that I
> think may be affecting open mantis issues, and may be the underlying
> cause of some unexpected behavior.
>
> The error occurs in the ScenePresence.cs file at or around line 1691, in
> the SendSitResponse function.
>
> The line in question is:
>
>
> bool SitTargetisSet = (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f &&
> avSitOffSet.Z == 0f && avSitOrientation.W == 0f && avSitOrientation.X ==
> 0f && avSitOrientation.Y == 0f && avSitOrientation.Z == 1f));
>
>
> I believe this should be:
>
> bool SitTargetisSet = (!(avSitOffSet.X == 0f && avSitOffSet.Y == 0f &&
> avSitOffSet.Z == 0f && avSitOrientation.X == 0f && avSitOrientation.Y ==
> 0f && avSitOrientation.Z == 0f && avSitOrientation.W == 1f));
>
> As I am not a developer on this project, I wanted to get this
> information out to someone who could review it and make the change, if
> appropriate.
>
> Regards,
> CapnJJ
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20100510/fda1d03f/attachment-0001.html>
More information about the Opensim-dev
mailing list