* 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.
This commit is contained in:
Teravus Ovares
2008-12-09 11:11:16 +00:00
parent 44d133da66
commit 3844e73d27
12 changed files with 64 additions and 2 deletions

View File

@@ -5671,7 +5671,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llVolumeDetect(int detect)
{
m_host.AddScriptLPS(1);
NotImplemented("llVolumeDetect");
if (m_host.ParentGroup != null)
{
if (!m_host.ParentGroup.IsDeleted)
{
m_host.ParentGroup.RootPart.SetVolumeDetect(detect);
}
}
}
/// <summary>