diff options
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 935cac5..03b5d36 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2094,8 +2094,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2094 | } | 2094 | } |
2095 | else if (part.PhysActor != null) | 2095 | else if (part.PhysActor != null) |
2096 | { | 2096 | { |
2097 | PhysicsScene.RemovePrim(part.PhysActor); | 2097 | part.RemoveFromPhysics(); |
2098 | part.PhysActor = null; | ||
2099 | } | 2098 | } |
2100 | } | 2099 | } |
2101 | 2100 | ||