mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Fix crash when doing PA calib using pattern method from calib tab (#7248)
* Fix crash when doing PA calib using pattern method from calib tab
This commit is contained in:
@@ -628,7 +628,7 @@ void CalibUtils::calib_pa_pattern(const CalibInfo &calib_info, Model& model)
|
|||||||
print_config.get_abs_value("layer_height"), 0)));
|
print_config.get_abs_value("layer_height"), 0)));
|
||||||
|
|
||||||
for (const auto& opt : SuggestedConfigCalibPAPattern().nozzle_ratio_pairs) {
|
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) {
|
for (const auto& opt : SuggestedConfigCalibPAPattern().int_pairs) {
|
||||||
|
|||||||
Reference in New Issue
Block a user