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.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-16 05:23:21 +01:00
parent 9a80adf33a
commit f5ddf37112
3 changed files with 25 additions and 14 deletions

View File

@@ -569,6 +569,7 @@ namespace OpenSim.Region.Framework.Scenes
if (primId != UUID.Zero)
{
SceneObjectPart part = m_parentScene.GetSceneObjectPart(primId);
if (part != null)
part.Redo();
}