diff options
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 5 |
1 files changed, 5 insertions, 0 deletions
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 | |||
641 | { | 641 | { |
642 | fakeori = value; | 642 | fakeori = value; |
643 | givefakeori++; | 643 | givefakeori++; |
644 | // Debug | ||
645 | float qlen = value.Length(); | ||
646 | if (value.Length() > 1.01f || qlen <0.99) | ||
647 | m_log.WarnFormat("[PHYSICS]: Got nonnorm quaternion Orientation from Scene in Object {0} norm {}", Name, qlen); | ||
648 | // | ||
644 | AddChange(changes.Orientation, value); | 649 | AddChange(changes.Orientation, value); |
645 | } | 650 | } |
646 | else | 651 | else |