mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: fix some issue in sending files to external storage through cloud
JIRA: STUDIO-9372 STUDIO-9374 STUDIO-9368 If the printer version does not support uploading, the original protocol will be used Change-Id: I3d47ac2567c2c6709a5b983ff1ad552d9a8606d4 (cherry picked from commit b8dde8ae7f4f5883fc163c57bb607a08ecdabf2b)
This commit is contained in:
@@ -556,6 +556,7 @@ void PrinterFileSystem::Stop(bool quit)
|
||||
|
||||
void PrinterFileSystem::SetUploadFile(const std::string &path, const std::string &name, const std::string &select_storage)
|
||||
{
|
||||
boost::unique_lock l(m_mutex);
|
||||
if (!m_upload_file) {
|
||||
m_upload_file = std::make_unique<UploadFile>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user