Fixup of 8df0181 (turning off the export of machine limits)

This should solve  for good
This commit is contained in:
Lukas Matena 2020-10-06 13:18:25 +02:00
parent 6ed25f6e1c
commit b42a12db66
4 changed files with 7 additions and 7 deletions
src/libslic3r/GCode

View file

@ -505,7 +505,7 @@ void GCodeProcessor::apply_config(const PrintConfig& config)
m_filament_diameters[i] = static_cast<float>(config.filament_diameter.values[i]);
}
if (config.machine_limits_type.value != MachineLimitsUsage::Ignore)
if (config.machine_limits_usage.value != MachineLimitsUsage::Ignore)
m_time_processor.machine_limits = reinterpret_cast<const MachineEnvelopeConfig&>(config);
// Filament load / unload times are not specific to a firmware flavor. Let anybody use it if they find it useful.