diff options
author | UbitUmarov | 2012-10-09 22:57:28 +0100 |
---|---|---|
committer | UbitUmarov | 2012-10-09 22:57:28 +0100 |
commit | e238ece327cb24a7f40b39a04e22e0da14db2960 (patch) | |
tree | e9b06cc7279ffc880ac0b86a9e7833c4e09135df /OpenSim/Region/Physics/UbitOdePlugin | |
parent | debug... (diff) | |
download | opensim-SC_OLD-e238ece327cb24a7f40b39a04e22e0da14db2960.zip opensim-SC_OLD-e238ece327cb24a7f40b39a04e22e0da14db2960.tar.gz opensim-SC_OLD-e238ece327cb24a7f40b39a04e22e0da14db2960.tar.bz2 opensim-SC_OLD-e238ece327cb24a7f40b39a04e22e0da14db2960.tar.xz |
debug...
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin')
-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 |