Fix of path sharing during upload.

This commit is contained in:
David Kocik 2024-05-20 15:06:56 +02:00
parent e553ac5360
commit 835e6d4805
3 changed files with 1 additions and 3 deletions

View File

@ -5932,7 +5932,6 @@ void Plater::connect_gcode()
upload_job.upload_data.position = position;
upload_job.upload_data.wait_until = wait_until;
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));

View File

@ -45,7 +45,6 @@ struct PrintHostUpload
std::string set_ready;
std::string position;
std::string wait_until;
std::string connect_path;
};
class PrintHost

View File

@ -103,7 +103,7 @@ bool PrusaConnectNew::init_upload(PrintHostUpload upload_data, std::string& out)
"}"
, upload_filename
, file_size
, upload_data.connect_path
, upload_data.upload_path.generic_string()
, m_uuid
);