mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH:add log
jira: none Change-Id: Ic7526b74cd3c0eb0060a138b43303cb49393c7ee (cherry picked from commit 29b5c946b56356f4e868f1b1fa122f1240785403)
This commit is contained in:
@@ -2937,6 +2937,7 @@ void Sidebar::sync_ams_list(bool is_from_big_sync_btn)
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "on_filament_count_change";
|
||||
wxGetApp().plater()->on_filament_count_change(n);
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "finish on_filament_count_change";
|
||||
for (auto& c : p->combos_filament)
|
||||
c->update();
|
||||
/*wxGetApp().get_tab(Preset::TYPE_FILAMENT)->select_preset(wxGetApp().preset_bundle->filament_presets[0]);
|
||||
@@ -2976,6 +2977,7 @@ void Sidebar::sync_ams_list(bool is_from_big_sync_btn)
|
||||
}
|
||||
}
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "prepare enable_merge_color_by_sync_ams";
|
||||
if (!merge_info.is_empty() && wxGetApp().app_config->get_bool("enable_merge_color_by_sync_ams")) { // merge same color and preset filament//use same ams
|
||||
auto reduce_index = [](MergeFilamentInfo &merge_info,int value) {
|
||||
for (size_t i = 0; i < merge_info.merges.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user