Pimping up SpiralVase code, fix of 03b6048684

This commit is contained in:
Vojtech Bubnik
2021-09-10 12:10:00 +02:00
parent 03b6048684
commit dc4b783e9e
3 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ std::string SpiralVase::process_layer(const std::string &gcode)
// For absolute extruder distances it will be switched off.
// Tapering the absolute extruder distances requires to process every extrusion value after the first transition
// layer.
bool transition = m_transition_layer && m_config->use_relative_e_distances.value;
bool transition = m_transition_layer && m_config.use_relative_e_distances.value;
float layer_height_factor = layer_height / total_layer_length;
float len = 0.f;
m_reader.parse_buffer(gcode, [&new_gcode, &z, total_layer_length, layer_height_factor, transition, &len]