effects.append(new UpdateContainer(new HistoryUpdate(this)));
}
lastCommandWasUndo = false;
history.add(command);
effects.add(new HistoryAddCommandUpdate(command));
}
if(saveToHistory) {
// Save the modeling commands
if (!(instanceOf(command, "ResetKarmaCommand"))) {