From 2a7bedb5e93cca37093220bfc11cc4ce45e45cfe Mon Sep 17 00:00:00 2001 From: Alan M Webb Date: Tue, 29 Sep 2009 08:35:21 -0400 Subject: This fix addresses the problem where phantom objects do not always behave like they are phantom, and llVolumeDetect seems to operate in a random fashion. Signed-off-by: dr scofield (aka dirk husemann) --- OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index ec262b0..cce45fe 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs @@ -3455,6 +3455,7 @@ if (m_shape != null) { RotationOffset, UsePhysics); + pa = PhysActor; if (pa != null) { pa.LocalID = LocalId; @@ -3513,7 +3514,6 @@ if (m_shape != null) { AddFlag(PrimFlags.Phantom); // We set this flag also if VD is active this.VolumeDetectActive = true; } - } else { // Remove VolumeDetect in any case. Note, it's safe to call SetVolumeDetect as often as you like -- cgit v1.1