diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 2659a69..05c9924 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4334,9 +4334,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4334 | bool wasVD = VolumeDetectActive; | 4334 | bool wasVD = VolumeDetectActive; |
4335 | 4335 | ||
4336 | if ((UsePhysics == wasUsingPhysics) && (wasTemporary == SetTemporary) && (wasPhantom == SetPhantom) && (SetVD == wasVD)) | 4336 | if ((UsePhysics == wasUsingPhysics) && (wasTemporary == SetTemporary) && (wasPhantom == SetPhantom) && (SetVD == wasVD)) |
4337 | { | ||
4338 | return; | 4337 | return; |
4339 | } | ||
4340 | 4338 | ||
4341 | // Special cases for VD. VD can only be called from a script | 4339 | // Special cases for VD. VD can only be called from a script |
4342 | // and can't be combined with changes to other states. So we can rely | 4340 | // and can't be combined with changes to other states. So we can rely |
@@ -4450,8 +4448,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4450 | } | 4448 | } |
4451 | else // it already has a physical representation | 4449 | else // it already has a physical representation |
4452 | { | 4450 | { |
4453 | PhysActor.IsPhysical = UsePhysics; | ||
4454 | |||
4455 | DoPhysicsPropertyUpdate(UsePhysics, false); // Update physical status. If it's phantom this will remove the prim | 4451 | DoPhysicsPropertyUpdate(UsePhysics, false); // Update physical status. If it's phantom this will remove the prim |
4456 | 4452 | ||
4457 | if (!m_parentGroup.IsDeleted) | 4453 | if (!m_parentGroup.IsDeleted) |