diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 905acd6..343a8fd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1463,16 +1463,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
1463 | // Need to duplicate the physics actor as well | 1463 | // Need to duplicate the physics actor as well |
1464 | if (part.PhysActor != null && userExposed) | 1464 | if (part.PhysActor != null && userExposed) |
1465 | { | 1465 | { |
1466 | PrimitiveBaseShape pbs = part.Shape; | 1466 | PrimitiveBaseShape pbs = newPart.Shape; |
1467 | 1467 | ||
1468 | newPart.PhysActor | 1468 | newPart.PhysActor |
1469 | = m_scene.PhysicsScene.AddPrimShape( | 1469 | = m_scene.PhysicsScene.AddPrimShape( |
1470 | part.LocalId, | 1470 | newPart.LocalId, |
1471 | string.Format("{0}/{1}", part.Name, part.UUID), | 1471 | string.Format("{0}/{1}", newPart.Name, newPart.UUID), |
1472 | pbs, | 1472 | pbs, |
1473 | part.AbsolutePosition, | 1473 | newPart.AbsolutePosition, |
1474 | part.Scale, | 1474 | newPart.Scale, |
1475 | part.RotationOffset, | 1475 | newPart.RotationOffset, |
1476 | part.PhysActor.IsPhysical); | 1476 | part.PhysActor.IsPhysical); |
1477 | 1477 | ||
1478 | newPart.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); | 1478 | newPart.DoPhysicsPropertyUpdate(part.PhysActor.IsPhysical, true); |