diff options
author | UbitUmarov | 2016-08-19 21:21:59 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-19 21:21:59 +0100 |
commit | d386bfa1b6f9c166438c11f4a98adc38a68f8394 (patch) | |
tree | c124f32cb924c65612a89b8c4472469cb8f202cc /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | on object delete send a direct kill and a delayed one via updates queue, Unti... (diff) | |
download | opensim-SC_OLD-d386bfa1b6f9c166438c11f4a98adc38a68f8394.zip opensim-SC_OLD-d386bfa1b6f9c166438c11f4a98adc38a68f8394.tar.gz opensim-SC_OLD-d386bfa1b6f9c166438c11f4a98adc38a68f8394.tar.bz2 opensim-SC_OLD-d386bfa1b6f9c166438c11f4a98adc38a68f8394.tar.xz |
on sog unlink loose the reference to the deleted physics actor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 573cfe3..b5dc19f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3347,7 +3347,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3347 | // engine about the delink. Someday, linksets should be made first | 3347 | // engine about the delink. Someday, linksets should be made first |
3348 | // class objects in the physics engine interface). | 3348 | // class objects in the physics engine interface). |
3349 | if (linkPartPa != null) | 3349 | if (linkPartPa != null) |
3350 | { | ||
3350 | m_scene.PhysicsScene.RemovePrim(linkPartPa); | 3351 | m_scene.PhysicsScene.RemovePrim(linkPartPa); |
3352 | linkPart.PhysActor = null; | ||
3353 | } | ||
3351 | 3354 | ||
3352 | // We need to reset the child part's position | 3355 | // We need to reset the child part's position |
3353 | // ready for life as a separate object after being a part of another object | 3356 | // ready for life as a separate object after being a part of another object |