mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
changes on undo/redo (untested/incomplete). Think we may consider moving this mfrom SOP to client side. At least does seem to work a bit better ( again there wwas a issue on sop.copy )
This commit is contained in:
@@ -549,11 +549,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
val.Z = Util.Clamp<float>(oldp.Z, 0.5f, 4096.0f);
|
||||
}
|
||||
}
|
||||
|
||||
/* don't see the need but worse don't see where is restored to false if things stay in
|
||||
foreach (SceneObjectPart part in m_parts.GetArray())
|
||||
{
|
||||
part.IgnoreUndoUpdate = true;
|
||||
}
|
||||
*/
|
||||
if (RootPart.GetStatusSandbox())
|
||||
{
|
||||
if (Util.GetDistanceTo(RootPart.StatusSandboxPos, value) > 10)
|
||||
@@ -3519,7 +3520,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
if (part.UUID == m_rootPart.UUID)
|
||||
{
|
||||
UpdateRootRotation(rot);
|
||||
if (!m_rootPart.Undoing)
|
||||
/* if (!m_rootPart.Undoing)
|
||||
{
|
||||
m_rootPart.Undoing = true;
|
||||
AbsolutePosition = pos;
|
||||
@@ -3527,8 +3528,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
else
|
||||
{
|
||||
*/
|
||||
AbsolutePosition = pos;
|
||||
}
|
||||
// }
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user