mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: context: update filament_maps under auto mode after process
JIRA: no-jira Change-Id: Ia14ed67343b876532931e3106d667973d9ea233d (cherry picked from commit d520fc59ebae76460a8994f88753c7a2ea75ea69)
This commit is contained in:
@@ -228,6 +228,8 @@ void BackgroundSlicingProcess::process_fff()
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: gcode_result reseted, will start print::process")%__LINE__;
|
||||
m_print->process();
|
||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: after print::process, send slicing complete event to gui...")%__LINE__;
|
||||
if (m_current_plate->get_filament_map_mode() == FilamentMapMode::fmmAuto)
|
||||
m_current_plate->set_filament_maps(m_fff_print->get_filament_maps());
|
||||
|
||||
wxCommandEvent evt(m_event_slicing_completed_id);
|
||||
// Post the Slicing Finished message for the G-code viewer to update.
|
||||
@@ -922,7 +924,7 @@ void BackgroundSlicingProcess::prepare_upload()
|
||||
// todo: do we need to copy the file?
|
||||
|
||||
// Make a copy of the source path, as run_post_process_scripts() is allowed to change it when making a copy of the source file
|
||||
// (not here, but when the final target is a file).
|
||||
// (not here, but when the final target is a file).
|
||||
if (!m_fff_print->is_BBL_printer()) {
|
||||
std::string source_path_str = source_path.string();
|
||||
std::string output_name_str = m_upload_job.upload_data.upload_path.string();
|
||||
|
||||
Reference in New Issue
Block a user