aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-14 06:20:50 +0000
committerTeravus Ovares2008-03-14 06:20:50 +0000
commitae9a98ceb15e43dc24c485955051f554a2247401 (patch)
tree27cd062a1ffd841eefba779db9752aa02350a8d1 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* Preliminary work with the ODEPlugin to collect collision data. (diff)
downloadopensim-SC_OLD-ae9a98ceb15e43dc24c485955051f554a2247401.zip
opensim-SC_OLD-ae9a98ceb15e43dc24c485955051f554a2247401.tar.gz
opensim-SC_OLD-ae9a98ceb15e43dc24c485955051f554a2247401.tar.bz2
opensim-SC_OLD-ae9a98ceb15e43dc24c485955051f554a2247401.tar.xz
* Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index ffb9d36..5b3ea0f 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1326,7 +1326,20 @@ namespace OpenSim.Region.Environment.Scenes
1326 // System.Console.WriteLine("Update: PHY:" + UsePhysics.ToString() + ", T:" + IsTemporary.ToString() + ", PHA:" + IsPhantom.ToString() + " S:" + CastsShadows.ToString()); 1326 // System.Console.WriteLine("Update: PHY:" + UsePhysics.ToString() + ", T:" + IsTemporary.ToString() + ", PHA:" + IsPhantom.ToString() + " S:" + CastsShadows.ToString());
1327 ScheduleFullUpdate(); 1327 ScheduleFullUpdate();
1328 } 1328 }
1329 1329 public void ScriptSetPhysicsStatus(bool UsePhysics)
1330 {
1331 if (m_parentGroup != null)
1332 {
1333 m_parentGroup.ScriptSetPhysicsStatus(UsePhysics);
1334 }
1335 }
1336 public void ScriptSetPhantomStatus(bool Phantom)
1337 {
1338 if (m_parentGroup != null)
1339 {
1340 m_parentGroup.ScriptSetPhantomStatus(Phantom);
1341 }
1342 }
1330 public void DoPhysicsPropertyUpdate(bool UsePhysics, bool isNew) 1343 public void DoPhysicsPropertyUpdate(bool UsePhysics, bool isNew)
1331 { 1344 {
1332 if (PhysActor != null) 1345 if (PhysActor != null)