diff --git a/src/LayerPlanBuffer.cpp b/src/LayerPlanBuffer.cpp index 48437cb56c..d5a033a136 100644 --- a/src/LayerPlanBuffer.cpp +++ b/src/LayerPlanBuffer.cpp @@ -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)