mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: sync the different codes
especially for the translation files Change-Id: I940578ff6e22b0939d42eeed2209bfeddb0eb191
This commit is contained in:
parent
540ecb2fb2
commit
13a1dc03c1
23 changed files with 29 additions and 98 deletions
|
@ -4047,19 +4047,18 @@ void GCodeProcessor::update_slice_warnings()
|
|||
warning.msg = BED_TEMP_TOO_HIGH_THAN_FILAMENT;
|
||||
warning.error_code = "1000C001";
|
||||
m_result.warnings.push_back(warning);
|
||||
}
|
||||
|
||||
//bbs:HRC checker
|
||||
warning.params.clear();
|
||||
warning.level=1;
|
||||
if (m_result.nozzle_hrc!=0) {
|
||||
for (size_t i = 0; i < used_extruders.size(); i++) {
|
||||
int HRC=0;
|
||||
if (used_extruders[i] < m_result.required_nozzle_HRC.size())
|
||||
HRC = m_result.required_nozzle_HRC[used_extruders[i]];
|
||||
if (HRC != 0 && (m_result.nozzle_hrc<HRC)) {
|
||||
GCodeProcessorResult::SliceWarning warning;
|
||||
warning.level = 1;
|
||||
warning.msg = THE_ACTUAL_NOZZLE_HRC_SMALLER_THAN_THE_REQUAIRED_NOZZLE_HRC;
|
||||
m_result.warnings.emplace_back(std::move(warning));
|
||||
}
|
||||
if (HRC != 0 && (m_result.nozzle_hrc<HRC))
|
||||
warning.params.push_back(std::to_string(used_extruders[i]));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue