} else {
commands.add(new CreateNewOrSelectExitingFeatureCommand(editGeom.getFeatureIDRef()
.get(), layer, geom));
}
commands.add(new SetEditGeomChangedStateCommand(editGeom, false));
commands.add(drawfactory.createStopAnimationCommand(display, Collections
.singletonList((IAnimation) animation)));
}
return commands;
}