diff options
author | Justin Clark-Casey (justincc) | 2012-12-14 22:15:40 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-12-14 22:15:40 +0000 |
commit | 750ad2d3afd6fcf32a9e04794d860e117559a78f (patch) | |
tree | e3ab0ec5f87e34de931ee87db3bed08fccb111e5 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | minor: add some more detail to the logging if an LLClientView fails to proces... (diff) | |
download | opensim-SC_OLD-750ad2d3afd6fcf32a9e04794d860e117559a78f.zip opensim-SC_OLD-750ad2d3afd6fcf32a9e04794d860e117559a78f.tar.gz opensim-SC_OLD-750ad2d3afd6fcf32a9e04794d860e117559a78f.tar.bz2 opensim-SC_OLD-750ad2d3afd6fcf32a9e04794d860e117559a78f.tar.xz |
Fix issue where calling llVolumeDetect(FALSE) would not remove phantom flag, causing subsequent issues if physics was re-enabled.
Added regression tests
Addresses http://opensimulator.org/mantis/view.php?id=6365
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 | ||