mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 15:35:55 +08:00
make sure to exit calib mode when a new model is added
This commit is contained in:
parent
3b99d92515
commit
18153a6095
@ -2894,6 +2894,10 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||||||
bool is_user_cancel = false;
|
bool is_user_cancel = false;
|
||||||
|
|
||||||
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();
|
||||||
@ -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…
x
Reference in New Issue
Block a user