From 3844e73d2742f4dee633bd2b5a8eb7e1a0d524f9 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 9 Dec 2008 11:11:16 +0000 Subject: * Gerhard's patch m2781. Does some initial work for setting up llVolumeDetect. * Warning! Physics API change. This means that the NBodySimulation needs to be updated! * PhysicsActor -> void SetVolumeDetect(int) needs to go into classes that use PhysicsActor as their base class. --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 2fc379c..efc9289 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -2366,6 +2366,14 @@ if (m_shape != null) { } } + public void SetVolumeDetect(int param) + { + if (PhysActor != null) + { + PhysActor.SetVolumeDetect(param); + } + } + public void SetGroup(UUID groupID, IClientAPI client) { _groupID = groupID; -- cgit v1.1