aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index ea6bc9c..801a7db 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1344,7 +1344,8 @@ if (m_shape != null) {
1344 bool RigidBody = isPhysical && !isPhantom; 1344 bool RigidBody = isPhysical && !isPhantom;
1345 1345
1346 // The only time the physics scene shouldn't know about the prim is if it's phantom or an attachment, which is phantom by definition 1346 // The only time the physics scene shouldn't know about the prim is if it's phantom or an attachment, which is phantom by definition
1347 if (!isPhantom && !IsAttachment) 1347 // or flexible
1348 if (!isPhantom && !IsAttachment && !(Shape.PathCurve == (byte) Extrusion.Flexible))
1348 { 1349 {
1349 PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape( 1350 PhysActor = m_parentGroup.Scene.PhysicsScene.AddPrimShape(
1350 Name, 1351 Name,
@@ -3426,8 +3427,8 @@ if (m_shape != null) {
3426 } 3427 }
3427 } 3428 }
3428 3429
3429 3430
3430 if (IsPhantom || IsAttachment) // note: this may have been changed above in the case of joints 3431 if (IsPhantom || IsAttachment || (Shape.PathCurve == (byte)Extrusion.Flexible)) // note: this may have been changed above in the case of joints
3431 { 3432 {
3432 AddFlag(PrimFlags.Phantom); 3433 AddFlag(PrimFlags.Phantom);
3433 PhysicsActor pa = PhysActor; 3434 PhysicsActor pa = PhysActor;