Reading GroupPosition, but setting OffsetPosition in undo doesnt' seem right.

This may fix the Mantii where individual prims ctrl-z to nirvana, but
it's not tested.
0.6.6-post-fixes
Melanie Thielker 2009-06-24 09:49:49 +00:00
parent 8ab815ed89
commit fa786c480b
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
Position = part.GroupPosition;
Position = part.OffsetPosition;
Rotation = part.RotationOffset;
Scale = part.Shape.Scale;
@ -75,7 +75,7 @@ namespace OpenSim.Region.Framework.Scenes
}
else
{
if (Position == part.GroupPosition && Rotation == part.RotationOffset && Scale == part.Shape.Scale)
if (Position == part.OffsetPosition && Rotation == part.RotationOffset && Scale == part.Shape.Scale)
return true;
else
return false;