mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: flush_volume_matrix and flush_multiplier is incorrect
jira: none Change-Id: Ie2d73b90b9ac7f5a6945b2bac859b76d2132f55a (cherry picked from commit b17c5e7e017a3019224bf105758ef23658308254)
This commit is contained in:
@@ -1140,11 +1140,9 @@ Sidebar::Sidebar(Plater *parent)
|
||||
ConfigOptionFloats *flush_multi_opt = project_config.option<ConfigOptionFloats>("flush_multiplier");
|
||||
if (flush_multi_opt)
|
||||
flush_multiplier = cast<float>(flush_multi_opt->values);
|
||||
else {
|
||||
for (size_t nozzle_id = 0; nozzle_id < nozzle_nums; ++nozzle_id) {
|
||||
flush_multiplier.push_back(1.f);
|
||||
}
|
||||
}
|
||||
|
||||
flush_multiplier.resize(nozzle_nums, 1.0f);
|
||||
|
||||
WipingDialog dlg(parent, cast<float>(init_matrix), cast<float>(init_extruders), extruder_colours, extra_flush_volumes, flush_multiplier, nozzle_nums);
|
||||
if (dlg.ShowModal() == wxID_OK) {
|
||||
std::vector<float> matrix = dlg.get_matrix();
|
||||
|
||||
Reference in New Issue
Block a user