FFF background slicing for a single object only:
Generalized the "enabled milestone" from SLA to both SLA and FFF. Merged the "milestone enabled" flag into the milestone status. Fixed some potential threading issues in SLAPrint::finalize() when resetting the "milestone enabled" flags.
This commit is contained in:
parent
26d1b2a5cd
commit
60d7564942
7 changed files with 174 additions and 130 deletions
src/libslic3r
|
@ -736,9 +736,13 @@ void GCode::do_export(Print* print, const char* path, GCodeProcessorResult* resu
|
|||
CNumericLocalesSetter locales_setter;
|
||||
|
||||
// Does the file exist? If so, we hope that it is still valid.
|
||||
if (print->is_step_done(psGCodeExport) && boost::filesystem::exists(boost::filesystem::path(path)))
|
||||
return;
|
||||
{
|
||||
PrintStateBase::StateWithTimeStamp state = print->step_state_with_timestamp(psGCodeExport);
|
||||
if (! state.enabled || (state.state == PrintStateBase::DONE && boost::filesystem::exists(boost::filesystem::path(path))))
|
||||
return;
|
||||
}
|
||||
|
||||
// Enabled and either not done, or marked as done while the output file is missing.
|
||||
print->set_started(psGCodeExport);
|
||||
|
||||
// check if any custom gcode contains keywords used by the gcode processor to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue