diff options
author | Justin Clark-Casey (justincc) | 2011-10-15 02:02:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-15 02:02:39 +0100 |
commit | c93c9ea072f319125f466c913f5f4fe1f6864045 (patch) | |
tree | ce4c0f6f47582c01f8c27fe47a2e78c4d4fed0db /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | reduce access to ODECharacter methods to make code analysis easier. Eliminat... (diff) | |
download | opensim-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.cs | 3 |
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 | ||