mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 21:55:59 +08:00
Fix of path sharing during upload.
This commit is contained in:
parent
e553ac5360
commit
835e6d4805
@ -5932,7 +5932,6 @@ void Plater::connect_gcode()
|
|||||||
upload_job.upload_data.position = position;
|
upload_job.upload_data.position = position;
|
||||||
upload_job.upload_data.wait_until = wait_until;
|
upload_job.upload_data.wait_until = wait_until;
|
||||||
upload_job.upload_data.upload_path = boost::filesystem::path(filename);
|
upload_job.upload_data.upload_path = boost::filesystem::path(filename);
|
||||||
upload_job.upload_data.connect_path = filename;
|
|
||||||
|
|
||||||
p->export_gcode(fs::path(), false, std::move(upload_job));
|
p->export_gcode(fs::path(), false, std::move(upload_job));
|
||||||
|
|
||||||
|
@ -45,7 +45,6 @@ struct PrintHostUpload
|
|||||||
std::string set_ready;
|
std::string set_ready;
|
||||||
std::string position;
|
std::string position;
|
||||||
std::string wait_until;
|
std::string wait_until;
|
||||||
std::string connect_path;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class PrintHost
|
class PrintHost
|
||||||
|
@ -103,7 +103,7 @@ bool PrusaConnectNew::init_upload(PrintHostUpload upload_data, std::string& out)
|
|||||||
"}"
|
"}"
|
||||||
, upload_filename
|
, upload_filename
|
||||||
, file_size
|
, file_size
|
||||||
, upload_data.connect_path
|
, upload_data.upload_path.generic_string()
|
||||||
, m_uuid
|
, m_uuid
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user