Fix undo when changing just the root prim's position in a linkset.

I think (ha ha) this largely fixes undo, except for the fact that rotation a set of prims with 'edit linked parts' selected doesn't quite work properly (though this works fine if the checkbox isn't selected).
Also, the double undo bug for resize is still present.
Redo might be incredibly buggy, haven't even looked at that yet.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-19 05:46:17 +01:00
parent 0ef29da9b2
commit bc3679b67d
3 changed files with 11 additions and 9 deletions

View File

@@ -788,7 +788,7 @@ namespace OpenSim.Region.Framework.Scenes
get { return m_offsetPosition; }
set
{
StoreUndoState();
// StoreUndoState();
m_offsetPosition = value;
if (ParentGroup != null && !ParentGroup.IsDeleted)