Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/NP-343-slicing-for-a-method-xl-p…
Browse files Browse the repository at this point in the history
…roduces-unexpected-results' into NP-327_emscripten_communication
  • Loading branch information
jellespijker committed Aug 22, 2024
2 parents 714f3e8 + 0f8e04f commit cabaa89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FffGcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ void FffGcodeWriter::calculateExtruderOrderPerLayer(const SliceDataStorage& stor
extruder_order_per_layer.init(true, storage.print_layer_count);

const std::vector<bool> extruders_used = storage.getExtrudersUsed();
for (LayerIndex layer_nr = -Raft::getTotalExtraLayers(); layer_nr < static_cast<LayerIndex>(storage.print_layer_count); layer_nr++)
for (LayerIndex layer_nr = -static_cast<LayerIndex::value_type>(Raft::getTotalExtraLayers()); layer_nr < static_cast<LayerIndex>(storage.print_layer_count); layer_nr++)
{
std::vector<ExtruderUse> extruder_order = getUsedExtrudersOnLayer(storage, last_extruder, layer_nr, extruders_used);
extruder_order_per_layer.push_back(extruder_order);
Expand Down

0 comments on commit cabaa89

Please sign in to comment.