diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index f79ac96..ff67d6d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3993,13 +3993,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
3993 | VolumeDetectActive = true; | 3993 | VolumeDetectActive = true; |
3994 | } | 3994 | } |
3995 | } | 3995 | } |
3996 | else | 3996 | else if (SetVD != wasVD) |
3997 | { | 3997 | { |
3998 | // Remove VolumeDetect in any case. Note, it's safe to call SetVolumeDetect as often as you like | 3998 | // Remove VolumeDetect in any case. Note, it's safe to call SetVolumeDetect as often as you like |
3999 | // (mumbles, well, at least if you have infinte CPU powers :-)) | 3999 | // (mumbles, well, at least if you have infinte CPU powers :-)) |
4000 | if (pa != null) | 4000 | if (pa != null) |
4001 | pa.SetVolumeDetect(0); | 4001 | pa.SetVolumeDetect(0); |
4002 | 4002 | ||
4003 | RemFlag(PrimFlags.Phantom); | ||
4003 | VolumeDetectActive = false; | 4004 | VolumeDetectActive = false; |
4004 | } | 4005 | } |
4005 | 4006 | ||