aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2010-11-23 14:05:09 +0000
committerMelanie2010-11-23 14:05:09 +0000
commit6557d5f3596e6b187131f3dec325104d79b5eef7 (patch)
treee20aea5c5e7127cf2548126c04db77ac5a43dd22 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-6557d5f3596e6b187131f3dec325104d79b5eef7.zip
opensim-SC_OLD-6557d5f3596e6b187131f3dec325104d79b5eef7.tar.gz
opensim-SC_OLD-6557d5f3596e6b187131f3dec325104d79b5eef7.tar.bz2
opensim-SC_OLD-6557d5f3596e6b187131f3dec325104d79b5eef7.tar.xz
Merge branch 'master' into careminster-presence-refactor
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