mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
NEW: add confirm dialog after check conditions
confirm to check printer model and slice warnings Change-Id: I07a272fda1a5e2ebc0f4e106815fe07da5aaa4df Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
a84cf46699
commit
ee62ffcc7d
10 changed files with 124 additions and 6 deletions
|
@ -2540,6 +2540,16 @@ wxColour Plater::get_next_color_for_filament()
|
|||
return colors[curr_color_filamenet++ % 7];
|
||||
}
|
||||
|
||||
wxString Plater::get_slice_warning_string(GCodeProcessorResult::SliceWarnings& warning)
|
||||
{
|
||||
if (warning.msg == BED_TEMP_TOO_HIGH_THAN_FILAMENT) {
|
||||
return _L("The bed temperature exceeds filament's vitrification temperature. Please open the front door of printer before printing to avoid nozzle clog.");
|
||||
}
|
||||
else {
|
||||
return wxString(warning.msg);
|
||||
}
|
||||
}
|
||||
|
||||
void Plater::priv::apply_free_camera_correction(bool apply/* = true*/)
|
||||
{
|
||||
bool use_perspective_camera = get_config("use_perspective_camera").compare("true") == 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue