mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
ENH: label: refine some label logic
1. only show label of object in current partplate 2. disable label under gizmo 3. fix a issue of label not updated in time 4. add some logs Change-Id: If20196a566cc45a4a0c2bcc6bbe212aaa9f74dd3 (cherry picked from commit 3e92ed61e9687d5351a9bb2bc6d25b568cd1c973)
This commit is contained in:
parent
93ce494741
commit
eecc2a738c
3 changed files with 10 additions and 6 deletions
|
@ -1172,7 +1172,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
} lock{&archive};
|
||||
|
||||
if (!open_zip_reader(&archive, filename)) {
|
||||
add_error("Unable to open the file");
|
||||
add_error("Unable to open the file"+filename);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1259,7 +1259,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
} lock{ &archive };
|
||||
|
||||
if (!open_zip_reader(&archive, filename)) {
|
||||
add_error("Unable to open the file");
|
||||
add_error("Unable to open the file"+filename);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -4702,7 +4702,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
boost::system::error_code ec;
|
||||
boost::filesystem::remove(filepath_tmp, ec);
|
||||
if (!open_zip_writer(&archive, filepath_tmp)) {
|
||||
add_error("Unable to open the file");
|
||||
add_error("Unable to open the file"+filepath_tmp);
|
||||
BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << ":" << __LINE__ << boost::format(", Unable to open the file\n");
|
||||
return false;
|
||||
}
|
||||
|
@ -4762,7 +4762,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
|||
}
|
||||
|
||||
if (!open_zip_writer(&archive, filename)) {
|
||||
add_error("Unable to open the file");
|
||||
add_error("Unable to open the file"+filename);
|
||||
BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << ":" << __LINE__ << boost::format(", Unable to open the file\n");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue