aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-16 05:23:21 +0100
committerJustin Clark-Casey (justincc)2011-07-16 05:23:21 +0100
commitf5ddf37112d4881243e3350d5df898c6b2bb02ae (patch)
tree72fe5fb9c4a3558fc0ffcc801e3040595ef77d39 /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentremove now unncessary parts of SceneObjectGroup.Resize() (diff)
downloadopensim-SC_OLD-f5ddf37112d4881243e3350d5df898c6b2bb02ae.zip
opensim-SC_OLD-f5ddf37112d4881243e3350d5df898c6b2bb02ae.tar.gz
opensim-SC_OLD-f5ddf37112d4881243e3350d5df898c6b2bb02ae.tar.bz2
opensim-SC_OLD-f5ddf37112d4881243e3350d5df898c6b2bb02ae.tar.xz
Replace ifs in SOG.GroupResize() with Math.Min()
Also fiddle a bit with undo. This is not currently working properly, though to be fair it also didn't appear to work in 0.7.1.1 either (at least for resize). Will get some more attention soon.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 00d25c2..bdb7f95 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -569,6 +569,7 @@ namespace OpenSim.Region.Framework.Scenes
569 if (primId != UUID.Zero) 569 if (primId != UUID.Zero)
570 { 570 {
571 SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId); 571 SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
572
572 if (part != null) 573 if (part != null)
573 part.Redo(); 574 part.Redo();
574 } 575 }