diff options
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.cs | 4 |
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 | } |