aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs17
1 files changed, 2 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index f69a30c..bdd42fc 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1026,21 +1026,7 @@ namespace OpenSim.Region.Framework.Scenes
1026 public PrimitiveBaseShape Shape 1026 public PrimitiveBaseShape Shape
1027 { 1027 {
1028 get { return m_shape; } 1028 get { return m_shape; }
1029 set 1029 set { m_shape = value; }
1030 {
1031 bool shape_changed = false;
1032 // TODO: this should really be restricted to the right
1033 // set of attributes on shape change. For instance,
1034 // changing the lighting on a shape shouldn't cause
1035 // this.
1036 if (m_shape != null)
1037 shape_changed = true;
1038
1039 m_shape = value;
1040
1041 if (shape_changed)
1042 TriggerScriptChangedEvent(Changed.SHAPE);
1043 }
1044 } 1030 }
1045 1031
1046 public Vector3 Scale 1032 public Vector3 Scale
@@ -4592,6 +4578,7 @@ namespace OpenSim.Region.Framework.Scenes
4592 ParentGroup.RootPart.Rezzed = DateTime.UtcNow; 4578 ParentGroup.RootPart.Rezzed = DateTime.UtcNow;
4593 4579
4594 ParentGroup.HasGroupChanged = true; 4580 ParentGroup.HasGroupChanged = true;
4581 TriggerScriptChangedEvent(Changed.SHAPE);
4595 ScheduleFullUpdate(); 4582 ScheduleFullUpdate();
4596 } 4583 }
4597 4584