PrusaSlicer-NonPlainar/src/slic3r/GUI/SLAPrint.cpp
2018-11-07 15:29:13 +01:00

22 lines
405 B
C++

#include "SLAPrint.hpp"
namespace Slic3r {
void SLAPrint::synch() {
m_gcfg = m_config_reader();
// TODO: check model objects and instances
}
bool SLAPrint::start(std::shared_ptr<BackgroundProcess> scheduler) {
if(!m_process || !m_process->is_running()) set_scheduler(scheduler);
if(!m_process) return false;
m_process->schedule([this, scheduler](){
});
return true;
}
}