ENH: context: update filament_maps under auto mode after process
JIRA: no-jira Change-Id: Ia14ed67343b876532931e3106d667973d9ea233d
This commit is contained in:
parent
4014c61f88
commit
d520fc59eb
|
@ -225,6 +225,8 @@ void BackgroundSlicingProcess::process_fff()
|
||||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: gcode_result reseted, will start print::process")%__LINE__;
|
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: gcode_result reseted, will start print::process")%__LINE__;
|
||||||
m_print->process();
|
m_print->process();
|
||||||
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << boost::format(" %1%: after print::process, send slicing complete event to gui...")%__LINE__;
|
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);
|
wxCommandEvent evt(m_event_slicing_completed_id);
|
||||||
// Post the Slicing Finished message for the G-code viewer to update.
|
// Post the Slicing Finished message for the G-code viewer to update.
|
||||||
|
|
Loading…
Reference in New Issue