A try to better attachment crossing.

This commit is contained in:
Melanie Thielker
2008-11-29 01:33:10 +00:00
parent 7823ca5c8b
commit 287c724b55
3 changed files with 67 additions and 54 deletions

View File

@@ -2414,6 +2414,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (AttachPoint > 30 && ownerID != AgentId) // Someone else's HUD
return;
if (parentID == 0)
return;
if (rotation.X == rotation.Y && rotation.Y == rotation.Z && rotation.Z == rotation.W && rotation.W == 0)
rotation = Quaternion.Identity;