aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-17 00:26:53 +0100
committerJustin Clark-Casey (justincc)2011-09-17 00:26:53 +0100
commit385c4a210deb63c25f082ab8a3f0c63c7bff8fb5 (patch)
tree404f2070fcb613ec19bb64d16d5a34de5cfa2dba /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentRevert "uncomment Standalone config in OpenSim.ini.example." (diff)
downloadopensim-SC_OLD-385c4a210deb63c25f082ab8a3f0c63c7bff8fb5.zip
opensim-SC_OLD-385c4a210deb63c25f082ab8a3f0c63c7bff8fb5.tar.gz
opensim-SC_OLD-385c4a210deb63c25f082ab8a3f0c63c7bff8fb5.tar.bz2
opensim-SC_OLD-385c4a210deb63c25f082ab8a3f0c63c7bff8fb5.tar.xz
On setting a new avatar appearance, if height hasn't changed then don't set that same height in ScenePresence.
This prevents unnecessary work in the ODE module, though possibly that should be checking against same size sets itself
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 0fc85b9..9358a4a 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3308,6 +3308,10 @@ namespace OpenSim.Region.Framework.Scenes
3308 /// </summary> 3308 /// </summary>
3309 public void AddToPhysicalScene(bool isFlying) 3309 public void AddToPhysicalScene(bool isFlying)
3310 { 3310 {
3311// m_log.DebugFormat(
3312// "[SCENE PRESENCE]: Adding physics actor for {0}, ifFlying = {1} in {2}",
3313// Name, isFlying, Scene.RegionInfo.RegionName);
3314
3311 if (m_appearance.AvatarHeight == 0) 3315 if (m_appearance.AvatarHeight == 0)
3312 m_appearance.SetHeight(); 3316 m_appearance.SetHeight();
3313 3317