Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2020-10-02 18:31:55 +0300
committerbubnikv <bubnikv@gmail.com>2020-10-02 18:32:03 +0300
commit8df01818dd85560a76d3a33bcff1f3437cede618 (patch)
tree007fac484a813694b3a7e3ead75d6b82a79ef58d /src/slic3r/GUI/UnsavedChangesDialog.cpp
parent0f44caa99cd0a238b8882f75008ae0a040631361 (diff)
Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212 WIP: The hints do not rescale when switching the "usage" combo box. The new g-code time estimator needs to be updated to not read the machine limits if not enabled.
Diffstat (limited to 'src/slic3r/GUI/UnsavedChangesDialog.cpp')
-rw-r--r--src/slic3r/GUI/UnsavedChangesDialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slic3r/GUI/UnsavedChangesDialog.cpp b/src/slic3r/GUI/UnsavedChangesDialog.cpp
index e7dec9fa8..e43f738c4 100644
--- a/src/slic3r/GUI/UnsavedChangesDialog.cpp
+++ b/src/slic3r/GUI/UnsavedChangesDialog.cpp
@@ -809,6 +809,8 @@ static wxString get_string_value(std::string opt_key, const DynamicPrintConfig&
return get_string_from_enum<InfillPattern>(opt_key, config, true);
if (opt_key == "gcode_flavor")
return get_string_from_enum<GCodeFlavor>(opt_key, config);
+ if (opt_key == "machine_limits_usage")
+ return get_string_from_enum<MachineLimitsUsage>(opt_key, config);
if (opt_key == "ironing_type")
return get_string_from_enum<IroningType>(opt_key, config);
if (opt_key == "support_material_pattern")