@@ -180,21 +180,23 @@ void cura::PathConfigStorage::handleInitialLayerSpeedup(const SliceDataStorage&
180
180
for (int extruder_nr = 0 ; extruder_nr < storage.meshgroup ->getExtruderCount (); ++extruder_nr)
181
181
{
182
182
const ExtruderTrain* train = storage.meshgroup ->getExtruderTrain (extruder_nr);
183
- GCodePathConfig::SpeedDerivatives initial_layer_speed_config {
183
+ GCodePathConfig::SpeedDerivatives initial_layer_travel_speed_config {
184
184
train->getSettingInMillimetersPerSecond (" speed_travel_layer_0" )
185
185
, train->getSettingInMillimetersPerSecond (" acceleration_travel_layer_0" )
186
186
, train->getSettingInMillimetersPerSecond (" jerk_travel_layer_0" )
187
187
};
188
188
GCodePathConfig& travel = travel_config_per_extruder[extruder_nr];
189
189
190
- travel.smoothSpeed (initial_layer_speed_config , std::max (0 , layer_nr), initial_speedup_layer_count);
190
+ travel.smoothSpeed (initial_layer_travel_speed_config , std::max (0 , layer_nr), initial_speedup_layer_count);
191
191
192
192
// don't smooth speed for the skirt/brim!
193
193
// NOTE: not smoothing skirt/brim means the speeds are also not smoothed for the draft/ooze shield
194
194
195
+ const GCodePathConfig::SpeedDerivatives& initial_layer_print_speed_config = global_first_layer_config_per_extruder[extruder_nr];
196
+
195
197
GCodePathConfig& prime_tower = prime_tower_config_per_extruder[extruder_nr];
196
198
197
- prime_tower.smoothSpeed (initial_layer_speed_config , std::max (0 , layer_nr), initial_speedup_layer_count);
199
+ prime_tower.smoothSpeed (initial_layer_print_speed_config , std::max (0 , layer_nr), initial_speedup_layer_count);
198
200
}
199
201
200
202
}
0 commit comments