aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorroot2011-07-15 20:07:59 +0100
committerroot2011-07-15 20:07:59 +0100
commite9dbe54ab1217e4310b0e7e014516363237e2a21 (patch)
treea7dc65799c92dc288c8d4d3d6c6f0c4adc824380 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentfix duplication of physical objects for physics engines that care about the i... (diff)
downloadopensim-SC-e9dbe54ab1217e4310b0e7e014516363237e2a21.zip
opensim-SC-e9dbe54ab1217e4310b0e7e014516363237e2a21.tar.gz
opensim-SC-e9dbe54ab1217e4310b0e7e014516363237e2a21.tar.bz2
opensim-SC-e9dbe54ab1217e4310b0e7e014516363237e2a21.tar.xz
Fix some local id issues in physics glue
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 343a8fd..0fbd746 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1467,13 +1467,13 @@ namespace OpenSim.Region.Framework.Scenes
1467 1467
1468 newPart.PhysActor 1468 newPart.PhysActor
1469 = m_scene.PhysicsScene.AddPrimShape( 1469 = m_scene.PhysicsScene.AddPrimShape(
1470 newPart.LocalId,
1471 string.Format("{0}/{1}", newPart.Name, newPart.UUID), 1470 string.Format("{0}/{1}", newPart.Name, newPart.UUID),
1472 pbs, 1471 pbs,
1473 newPart.AbsolutePosition, 1472 newPart.AbsolutePosition,
1474 newPart.Scale, 1473 newPart.Scale,
1475 newPart.RotationOffset, 1474 newPart.RotationOffset,
1476 part.PhysActor.IsPhysical); 1475 part.PhysActor.IsPhysical,
1476 newPart.LocalId);
1477 1477
1478 newPart.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); 1478 newPart.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true);
1479 } 1479 }