ENH: move some level
jira: [none] Change-Id: Ibd0d380b16b30f63144d38a0c34972d8b7c4153f
This commit is contained in:
parent
8fbbf8f34f
commit
2da69efd9b
|
@ -660,7 +660,7 @@ std::string AppConfig::load()
|
||||||
if (iter.value().is_string())
|
if (iter.value().is_string())
|
||||||
m_storage[it.key()][iter.key()] = iter.value().get<std::string>();
|
m_storage[it.key()][iter.key()] = iter.value().get<std::string>();
|
||||||
else {
|
else {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "load config warning...";
|
BOOST_LOG_TRIVIAL(warning) << "load config warning...";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2050,7 +2050,7 @@ void PrintObject::bridge_over_infill()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if USE_TBB_IN_INFILL
|
#if USE_TBB_IN_INFILL
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
@ -2758,7 +2758,7 @@ void PrintObject::bridge_over_infill()
|
||||||
|
|
||||||
SurfacesPtr internal_infills = region->fill_surfaces.filter_by_type(stInternal);
|
SurfacesPtr internal_infills = region->fill_surfaces.filter_by_type(stInternal);
|
||||||
ExPolygons new_internal_infills = diff_ex(internal_infills, cut_from_infill); // 新的稀疏填充区域,去掉生成的桥接区域
|
ExPolygons new_internal_infills = diff_ex(internal_infills, cut_from_infill); // 新的稀疏填充区域,去掉生成的桥接区域
|
||||||
new_internal_infills = diff_ex(new_internal_infills, additional_ensuring);
|
new_internal_infills = diff_ex(new_internal_infills, additional_ensuring);
|
||||||
for (const ExPolygon &ep : new_internal_infills) {
|
for (const ExPolygon &ep : new_internal_infills) {
|
||||||
new_surfaces.emplace_back(stInternal, ep);
|
new_surfaces.emplace_back(stInternal, ep);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4502,7 +4502,7 @@ std::string GUI_App::handle_web_request(std::string cmd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (...) {
|
catch (...) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "parse json cmd failed " << cmd;
|
BOOST_LOG_TRIVIAL(warning) << "parse json cmd failed " << cmd;
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|
|
@ -709,7 +709,7 @@ std::string get_error_message(int error_code)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.on_error([](std::string body, std::string error, unsigned status) {
|
.on_error([](std::string body, std::string error, unsigned status) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << boost::format("[BBL ErrorMessage]: status=%1%, error=%2%, body=%3%") % status % error % body;
|
BOOST_LOG_TRIVIAL(info) << boost::format("[BBL ErrorMessage]: status=%1%, error=%2%, body=%3%") % status % error % body;
|
||||||
}).perform_sync();
|
}).perform_sync();
|
||||||
|
|
||||||
return result_str;
|
return result_str;
|
||||||
|
|
|
@ -108,7 +108,7 @@ void BindJob::process()
|
||||||
);
|
);
|
||||||
|
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "login: result = " << result;
|
BOOST_LOG_TRIVIAL(info) << "login: result = " << result;
|
||||||
|
|
||||||
if (result_code == BAMBU_NETWORK_ERR_BIND_ECODE_LOGIN_REPORT_FAILED || result_code == BAMBU_NETWORK_ERR_BIND_GET_PRINTER_TICKET_TIMEOUT) {
|
if (result_code == BAMBU_NETWORK_ERR_BIND_ECODE_LOGIN_REPORT_FAILED || result_code == BAMBU_NETWORK_ERR_BIND_GET_PRINTER_TICKET_TIMEOUT) {
|
||||||
int error_code;
|
int error_code;
|
||||||
|
@ -130,7 +130,7 @@ void BindJob::process()
|
||||||
|
|
||||||
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||||
if (!dev) {
|
if (!dev) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "login: dev is null";
|
BOOST_LOG_TRIVIAL(error) << "login: dev is null";
|
||||||
post_fail_event(result_code, result_info);
|
post_fail_event(result_code, result_info);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1122,7 +1122,7 @@ void SelectMachineDialog::finish_mode()
|
||||||
void SelectMachineDialog::sync_ams_mapping_result(std::vector<FilamentInfo> &result)
|
void SelectMachineDialog::sync_ams_mapping_result(std::vector<FilamentInfo> &result)
|
||||||
{
|
{
|
||||||
if (result.empty()) {
|
if (result.empty()) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "ams_mapping result is empty";
|
BOOST_LOG_TRIVIAL(info) << "ams_mapping result is empty";
|
||||||
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
for (auto it = m_materialList.begin(); it != m_materialList.end(); it++) {
|
||||||
wxString ams_id = "Ext";//
|
wxString ams_id = "Ext";//
|
||||||
wxColour ams_col = wxColour(0xCE, 0xCE, 0xCE);
|
wxColour ams_col = wxColour(0xCE, 0xCE, 0xCE);
|
||||||
|
@ -2592,7 +2592,7 @@ void SelectMachineDialog::on_send_print()
|
||||||
if (!obj_->is_lan_mode_printer()) {
|
if (!obj_->is_lan_mode_printer()) {
|
||||||
result = m_plater->export_config_3mf(m_print_plate_idx);
|
result = m_plater->export_config_3mf(m_print_plate_idx);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
|
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -663,7 +663,7 @@ void SendMultiMachinePage::on_send(wxCommandEvent& event)
|
||||||
// export config 3mf if needed
|
// export config 3mf if needed
|
||||||
result = m_plater->export_config_3mf(m_print_plate_idx);
|
result = m_plater->export_config_3mf(m_print_plate_idx);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
|
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -840,7 +840,7 @@ void SendToPrinterDialog::on_ok(wxCommandEvent &event)
|
||||||
if (!obj_->is_lan_mode_printer()) {
|
if (!obj_->is_lan_mode_printer()) {
|
||||||
result = m_plater->export_config_3mf(m_print_plate_idx);
|
result = m_plater->export_config_3mf(m_print_plate_idx);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
BOOST_LOG_TRIVIAL(trace) << "export_config_3mf failed, result = " << result;
|
BOOST_LOG_TRIVIAL(info) << "export_config_3mf failed, result = " << result;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue