aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2016-08-27 19:25:47 +0100
committerUbitUmarov2016-08-27 19:25:47 +0100
commit78fa544f0d12d1c946f0b81200167f79aa83f9fc (patch)
treee854d6530a8bec0d93ef062371455a100a2d6119 /OpenSim/Region/Framework/Scenes
parent stack overflow is (not)funny :) (diff)
downloadopensim-SC-78fa544f0d12d1c946f0b81200167f79aa83f9fc.zip
opensim-SC-78fa544f0d12d1c946f0b81200167f79aa83f9fc.tar.gz
opensim-SC-78fa544f0d12d1c946f0b81200167f79aa83f9fc.tar.bz2
opensim-SC-78fa544f0d12d1c946f0b81200167f79aa83f9fc.tar.xz
experimental function. Results still too volatile to be usefull
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index cdf97b6..bf78c3f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -5408,5 +5408,24 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter
5408 Acceleration = Vector3.Zero; 5408 Acceleration = Vector3.Zero;
5409 APIDActive = false; 5409 APIDActive = false;
5410 } 5410 }
5411
5412 // handle osVolumeDetect
5413 public void ScriptSetVolumeDetect(bool makeVolumeDetect)
5414 {
5415 if(_parentID == 0)
5416 {
5417 // if root prim do it via SOG
5418 ParentGroup.ScriptSetVolumeDetect(makeVolumeDetect);
5419 return;
5420 }
5421
5422 bool wasUsingPhysics = ((Flags & PrimFlags.Physics) != 0);
5423 bool wasTemporary = ((Flags & PrimFlags.TemporaryOnRez) != 0);
5424 bool wasPhantom = ((Flags & PrimFlags.Phantom) != 0);
5425
5426 if(PhysActor != null)
5427 PhysActor.Building = true;
5428 UpdatePrimFlags(wasUsingPhysics,wasTemporary,wasPhantom,makeVolumeDetect,false);
5429 }
5411 } 5430 }
5412} 5431}