aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index b284ed4..203faed 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3410,7 +3410,8 @@ if (m_shape != null) {
3410 { 3410 {
3411 RemFlag(PrimFlags.Phantom); 3411 RemFlag(PrimFlags.Phantom);
3412 3412
3413 if (PhysActor == null) 3413 PhysicsActor pa = PhysActor;
3414 if (pa == null)
3414 { 3415 {
3415 // It's not phantom anymore. So make sure the physics engine get's knowledge of it 3416 // It's not phantom anymore. So make sure the physics engine get's knowledge of it
3416 PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape( 3417 PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape(
@@ -3421,7 +3422,7 @@ if (m_shape != null) {
3421 RotationOffset, 3422 RotationOffset,
3422 UsePhysics); 3423 UsePhysics);
3423 3424
3424 PhysicsActor pa = PhysActor; 3425 pa = PhysActor;
3425 if (pa != null) 3426 if (pa != null)
3426 { 3427 {
3427 pa.LocalID = LocalId; 3428 pa.LocalID = LocalId;