aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2009-12-06 00:02:24 +0000
committerMelanie2009-12-06 00:02:24 +0000
commitceccfe02d0e25c234560b6ef25306b8db4cd9875 (patch)
tree6f619087a6af3f7a6434696e5990fa91c6872823 /OpenSim/Region/Framework
parentCause better packing of ObjectProperties (diff)
downloadopensim-SC_OLD-ceccfe02d0e25c234560b6ef25306b8db4cd9875.zip
opensim-SC_OLD-ceccfe02d0e25c234560b6ef25306b8db4cd9875.tar.gz
opensim-SC_OLD-ceccfe02d0e25c234560b6ef25306b8db4cd9875.tar.bz2
opensim-SC_OLD-ceccfe02d0e25c234560b6ef25306b8db4cd9875.tar.xz
Eliminate multiple updates on link/unlink
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs8
2 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 2fdb48d..d87e814 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1593,6 +1593,8 @@ namespace OpenSim.Region.Framework.Scenes
1593 // occur on link to invoke this elsewhere (such as object selection) 1593 // occur on link to invoke this elsewhere (such as object selection)
1594 parentGroup.RootPart.AddFlag(PrimFlags.CreateSelected); 1594 parentGroup.RootPart.AddFlag(PrimFlags.CreateSelected);
1595 parentGroup.TriggerScriptChangedEvent(Changed.LINK); 1595 parentGroup.TriggerScriptChangedEvent(Changed.LINK);
1596 parentGroup.HasGroupChanged = true;
1597 parentGroup.ScheduleGroupForFullUpdate();
1596 1598
1597 if (client != null) 1599 if (client != null)
1598 { 1600 {
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index ecda80c..fa2e3ce 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2389,8 +2389,8 @@ namespace OpenSim.Region.Framework.Scenes
2389 // unmoved prims! 2389 // unmoved prims!
2390 ResetChildPrimPhysicsPositions(); 2390 ResetChildPrimPhysicsPositions();
2391 2391
2392 HasGroupChanged = true; 2392 //HasGroupChanged = true;
2393 ScheduleGroupForFullUpdate(); 2393 //ScheduleGroupForFullUpdate();
2394 } 2394 }
2395 2395
2396 /// <summary> 2396 /// <summary>
@@ -2483,8 +2483,8 @@ namespace OpenSim.Region.Framework.Scenes
2483 2483
2484 linkPart.Rezzed = RootPart.Rezzed; 2484 linkPart.Rezzed = RootPart.Rezzed;
2485 2485
2486 HasGroupChanged = true; 2486 //HasGroupChanged = true;
2487 ScheduleGroupForFullUpdate(); 2487 //ScheduleGroupForFullUpdate();
2488 } 2488 }
2489 2489
2490 /// <summary> 2490 /// <summary>