Skip to content

Commit

Permalink
Fix crash when doing PA calib using pattern method from calib tab (#7248
Browse files Browse the repository at this point in the history
)

* Fix crash when doing PA calib using pattern method from calib tab
  • Loading branch information
Noisyfox authored Oct 26, 2024
1 parent d9dcbc8 commit 661efa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/Utils/CalibUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ void CalibUtils::calib_pa_pattern(const CalibInfo &calib_info, Model& model)
print_config.get_abs_value("layer_height"), 0)));

for (const auto& opt : SuggestedConfigCalibPAPattern().nozzle_ratio_pairs) {
print_config.set_key_value(opt.first, new ConfigOptionFloat(nozzle_diameter * opt.second / 100));
print_config.set_key_value(opt.first, new ConfigOptionFloatOrPercent(nozzle_diameter * opt.second / 100, false));
}

for (const auto& opt : SuggestedConfigCalibPAPattern().int_pairs) {
Expand Down

0 comments on commit 661efa7

Please sign in to comment.