mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
make sure to exit calib mode when a new model is added
This commit is contained in:
parent
3b99d92515
commit
18153a6095
1 changed files with 4 additions and 3 deletions
|
@ -2895,6 +2895,10 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||||
|
|
||||||
if (input_files.empty()) { return std::vector<size_t>(); }
|
if (input_files.empty()) { return std::vector<size_t>(); }
|
||||||
|
|
||||||
|
// SoftFever: ugly fix so we can exist pa calib mode
|
||||||
|
background_process.fff_print()->calib_mode() = Calib_None;
|
||||||
|
|
||||||
|
|
||||||
// BBS
|
// BBS
|
||||||
int filaments_cnt = config->opt<ConfigOptionStrings>("filament_colour")->values.size();
|
int filaments_cnt = config->opt<ConfigOptionStrings>("filament_colour")->values.size();
|
||||||
bool one_by_one = input_files.size() == 1 || printer_technology == ptSLA/* || filaments_cnt <= 1*/;
|
bool one_by_one = input_files.size() == 1 || printer_technology == ptSLA/* || filaments_cnt <= 1*/;
|
||||||
|
@ -8796,9 +8800,6 @@ void Plater::add_file()
|
||||||
break;
|
break;
|
||||||
default:break;
|
default:break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// SoftFever: ugly fix so we can exist pa calib mode
|
|
||||||
p->background_process.fff_print()->calib_mode() = Calib_None;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Plater::update() { p->update(); }
|
void Plater::update() { p->update(); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue