aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 58ef9f7..da2c069 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4028,14 +4028,6 @@ namespace OpenSim.Region.Framework.Scenes
4028 if (!wasUsingPhysics) 4028 if (!wasUsingPhysics)
4029 { 4029 {
4030 DoPhysicsPropertyUpdate(UsePhysics, false); 4030 DoPhysicsPropertyUpdate(UsePhysics, false);
4031
4032 if (!ParentGroup.IsDeleted)
4033 {
4034 if (LocalId == ParentGroup.RootPart.LocalId)
4035 {
4036 ParentGroup.CheckSculptAndLoad();
4037 }
4038 }
4039 } 4031 }
4040 } 4032 }
4041 else 4033 else
@@ -4075,14 +4067,6 @@ namespace OpenSim.Region.Framework.Scenes
4075 pa.SetMaterial(Material); 4067 pa.SetMaterial(Material);
4076 DoPhysicsPropertyUpdate(UsePhysics, true); 4068 DoPhysicsPropertyUpdate(UsePhysics, true);
4077 4069
4078 if (!ParentGroup.IsDeleted)
4079 {
4080 if (LocalId == ParentGroup.RootPart.LocalId)
4081 {
4082 ParentGroup.CheckSculptAndLoad();
4083 }
4084 }
4085
4086 if ( 4070 if (
4087 ((AggregateScriptEvents & scriptEvents.collision) != 0) || 4071 ((AggregateScriptEvents & scriptEvents.collision) != 0) ||
4088 ((AggregateScriptEvents & scriptEvents.collision_end) != 0) || 4072 ((AggregateScriptEvents & scriptEvents.collision_end) != 0) ||
@@ -4107,14 +4091,6 @@ namespace OpenSim.Region.Framework.Scenes
4107 else // it already has a physical representation 4091 else // it already has a physical representation
4108 { 4092 {
4109 DoPhysicsPropertyUpdate(UsePhysics, false); // Update physical status. If it's phantom this will remove the prim 4093 DoPhysicsPropertyUpdate(UsePhysics, false); // Update physical status. If it's phantom this will remove the prim
4110
4111 if (!ParentGroup.IsDeleted)
4112 {
4113 if (LocalId == ParentGroup.RootPart.LocalId)
4114 {
4115 ParentGroup.CheckSculptAndLoad();
4116 }
4117 }
4118 } 4094 }
4119 } 4095 }
4120 4096