Always restore state.

This commit is contained in:
Hermann Kraus 2012-08-21 22:25:52 +02:00
parent 8bc9561dd4
commit 3a09a60035

View file

@ -329,6 +329,7 @@ bool placement_finder_ng::find_line_placements(T & path)
if (pp.move(tolerance_offset.get()) && single_line_placement(pp, info_->properties.upright))
{
success = true;
pp.restore_state(state);
break;
}
pp.restore_state(state);