Skip to content

Commit

Permalink
Restore removed error check
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Nov 8, 2023
1 parent 588d44d commit e29f675
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LayerPlanBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ void LayerPlanBuffer::addConnectingTravelMove(LayerPlan* prev_layer, const Layer

Point first_location_new_layer = new_layer_destination_state->first;

// assert(newest_layer->extruder_plans.front().paths[0].points.size() == 1);
// assert(newest_layer->extruder_plans.front().paths[0].points[0] == first_location_new_layer);
assert(newest_layer->extruder_plans.front().paths[0].points.size() == 1);
assert(newest_layer->extruder_plans.front().paths[0].points[0] == first_location_new_layer);

// if the last planned position in the previous layer isn't the same as the first location of the new layer, travel to the new location
if (! prev_layer->last_planned_position || *prev_layer->last_planned_position != first_location_new_layer)
Expand Down

0 comments on commit e29f675

Please sign in to comment.