PrusaSlicer-NonPlainar/src/slic3r/GUI/SLAPrint.cpp

22 lines
405 B
C++
Raw Normal View History

2018-11-07 14:29:13 +00:00
#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;
}
}