aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-15 02:02:39 +0100
committerJustin Clark-Casey (justincc)2011-10-15 02:02:39 +0100
commitc93c9ea072f319125f466c913f5f4fe1f6864045 (patch)
treece4c0f6f47582c01f8c27fe47a2e78c4d4fed0db /OpenSim/Region/Framework/Scenes/Scene.cs
parentreduce access to ODECharacter methods to make code analysis easier. Eliminat... (diff)
downloadopensim-SC_OLD-c93c9ea072f319125f466c913f5f4fe1f6864045.zip
opensim-SC_OLD-c93c9ea072f319125f466c913f5f4fe1f6864045.tar.gz
opensim-SC_OLD-c93c9ea072f319125f466c913f5f4fe1f6864045.tar.bz2
opensim-SC_OLD-c93c9ea072f319125f466c913f5f4fe1f6864045.tar.xz
factor common code out into SOP.RemoveFromPhysics()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index f2b7014..a6ffe6e 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2023,8 +2023,7 @@ namespace OpenSim.Region.Framework.Scenes
2023 } 2023 }
2024 else if (part.PhysActor != null) 2024 else if (part.PhysActor != null)
2025 { 2025 {
2026 PhysicsScene.RemovePrim(part.PhysActor); 2026 part.RemoveFromPhysics();
2027 part.PhysActor = null;
2028 } 2027 }
2029 } 2028 }
2030 2029