From e238ece327cb24a7f40b39a04e22e0da14db2960 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 9 Oct 2012 22:57:28 +0100 Subject: debug... --- OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index d993f22..0189e42 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs @@ -641,6 +641,11 @@ namespace OpenSim.Region.Physics.OdePlugin { fakeori = value; givefakeori++; +// Debug + float qlen = value.Length(); + if (value.Length() > 1.01f || qlen <0.99) + m_log.WarnFormat("[PHYSICS]: Got nonnorm quaternion Orientation from Scene in Object {0} norm {}", Name, qlen); +// AddChange(changes.Orientation, value); } else -- cgit v1.1