mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -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
|
@ -2894,6 +2894,10 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
bool is_user_cancel = false;
|
||||
|
||||
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
|
||||
int filaments_cnt = config->opt<ConfigOptionStrings>("filament_colour")->values.size();
|
||||
|
@ -8796,9 +8800,6 @@ void Plater::add_file()
|
|||
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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue