There were several extra copies of the rocket made in the course of undo() -- they looked like debug code that had been left in. Removed now.
This commit is contained in:
parent
ae5ecb5f1d
commit
6c3bf5ef06
@ -727,9 +727,7 @@ public class OpenRocketDocument implements ComponentChangeListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
rocket.checkComponentStructure();
|
rocket.checkComponentStructure();
|
||||||
undoHistory.get(undoPosition).checkComponentStructure();
|
rocket.loadFrom(undoHistory.get(undoPosition));
|
||||||
undoHistory.get(undoPosition).copyWithOriginalID().checkComponentStructure();
|
|
||||||
rocket.loadFrom(undoHistory.get(undoPosition).copyWithOriginalID());
|
|
||||||
rocket.checkComponentStructure();
|
rocket.checkComponentStructure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user