mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
ENH: update slice status if ams count change
jira:STUDIO-10609 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I1cf2b15d084c40589a8c8954d310567b5daa9afb (cherry picked from commit aa46f311e9b475161384dca604dde1c734e16c14)
This commit is contained in:
@@ -903,6 +903,7 @@ public:
|
||||
std::vector<std::string> extruder_ams_count = save_extruder_ams_count_to_string(preset_bundle.extruder_ams_counts);
|
||||
std::string extruder_ams_count_str = boost::algorithm::join(extruder_ams_count, ",");
|
||||
wxGetApp().app_config->set("presets", "extruder_ams_count", extruder_ams_count_str);
|
||||
wxGetApp().plater()->update(); // update slice status
|
||||
}
|
||||
|
||||
static void GetAMSCount(int index, int & ams4, int & ams1)
|
||||
|
||||
Reference in New Issue
Block a user