diff options
author | UbitUmarov | 2012-05-19 18:10:44 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-19 18:10:44 +0100 |
commit | 2767574d0f17c0bb43c0322505e07d58c60f2f06 (patch) | |
tree | 267c8ad30ea0141366269924723a7a60ca637105 | |
parent | reduce useless waste of cpu. Make character collision events be done similia... (diff) | |
download | opensim-SC_OLD-2767574d0f17c0bb43c0322505e07d58c60f2f06.zip opensim-SC_OLD-2767574d0f17c0bb43c0322505e07d58c60f2f06.tar.gz opensim-SC_OLD-2767574d0f17c0bb43c0322505e07d58c60f2f06.tar.bz2 opensim-SC_OLD-2767574d0f17c0bb43c0322505e07d58c60f2f06.tar.xz |
fix m_sitAvatarHeight to be half size.z, reduced default to a more resonable value ( 1m);
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index be94508..5a3b518 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2032,7 +2032,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2032 | // m_log.DebugFormat("[SCENE PRESENCE]: {0} {1}", SitTargetisSet, SitTargetUnOccupied); | 2032 | // m_log.DebugFormat("[SCENE PRESENCE]: {0} {1}", SitTargetisSet, SitTargetUnOccupied); |
2033 | 2033 | ||
2034 | if (PhysicsActor != null) | 2034 | if (PhysicsActor != null) |
2035 | m_sitAvatarHeight = PhysicsActor.Size.Z; | 2035 | m_sitAvatarHeight = PhysicsActor.Size.Z * 0.5f; |
2036 | 2036 | ||
2037 | bool canSit = false; | 2037 | bool canSit = false; |
2038 | pos = part.AbsolutePosition + offset; | 2038 | pos = part.AbsolutePosition + offset; |