diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/UndoState.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/UndoState.cs b/OpenSim/Region/Framework/Scenes/UndoState.cs index 7bbf1bd..8fff38f 100644 --- a/OpenSim/Region/Framework/Scenes/UndoState.cs +++ b/OpenSim/Region/Framework/Scenes/UndoState.cs | |||
@@ -46,7 +46,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
46 | /// </summary> | 46 | /// </summary> |
47 | /// <param name="part"></param> | 47 | /// <param name="part"></param> |
48 | /// <param name="change">bit field with what is changed</param> | 48 | /// <param name="change">bit field with what is changed</param> |
49 | /// | 49 | /// |
50 | public UndoState(SceneObjectPart part, ObjectChangeType change) | 50 | public UndoState(SceneObjectPart part, ObjectChangeType change) |
51 | { | 51 | { |
52 | data = new ObjectChangeData(); | 52 | data = new ObjectChangeData(); |
@@ -73,7 +73,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
73 | } | 73 | } |
74 | } | 74 | } |
75 | /// <summary> | 75 | /// <summary> |
76 | /// check if undo or redo is too old | 76 | /// check if undo or redo is too old |
77 | /// </summary> | 77 | /// </summary> |
78 | 78 | ||
79 | public bool checkExpire() | 79 | public bool checkExpire() |
@@ -97,8 +97,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
97 | /// </summary> | 97 | /// </summary> |
98 | /// <param name="part"></param> | 98 | /// <param name="part"></param> |
99 | /// <returns>true what fiels and related data are equal, False otherwise.</returns> | 99 | /// <returns>true what fiels and related data are equal, False otherwise.</returns> |
100 | /// | 100 | /// |
101 | public bool Compare(SceneObjectPart part, ObjectChangeType change) | 101 | public bool Compare(SceneObjectPart part, ObjectChangeType change) |
102 | { | 102 | { |
103 | if (data.change != change) // if diferent targets, then they are diferent | 103 | if (data.change != change) // if diferent targets, then they are diferent |
104 | return false; | 104 | return false; |
@@ -130,7 +130,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
130 | /// executes the undo or redo to a part or its group | 130 | /// executes the undo or redo to a part or its group |
131 | /// </summary> | 131 | /// </summary> |
132 | /// <param name="part"></param> | 132 | /// <param name="part"></param> |
133 | /// | 133 | /// |
134 | 134 | ||
135 | public void PlayState(SceneObjectPart part) | 135 | public void PlayState(SceneObjectPart part) |
136 | { | 136 | { |
@@ -140,7 +140,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
140 | 140 | ||
141 | if (grp != null) | 141 | if (grp != null) |
142 | { | 142 | { |
143 | grp.doChangeObject(part, data); | 143 | grp.doChangeObject(part, data); |
144 | } | 144 | } |
145 | part.Undoing = false; | 145 | part.Undoing = false; |
146 | } | 146 | } |