mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH: don't need to skip object in cali mode
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I3c71f442e8d1e94786912ddf6a4367597073cbac
This commit is contained in:
parent
2368d929fe
commit
5e36c36f70
1 changed files with 2 additions and 1 deletions
|
@ -1528,7 +1528,8 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||||
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str());
|
file.write_format(";%s\n", GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Total_Layer_Number_Placeholder).c_str());
|
||||||
//BBS: judge whether support skipping, if yes, list all label_object_id with sorted order here
|
//BBS: judge whether support skipping, if yes, list all label_object_id with sorted order here
|
||||||
if (print.extruders(true).size() == 1 && //Don't support multi-color
|
if (print.extruders(true).size() == 1 && //Don't support multi-color
|
||||||
print.num_object_instances() <= g_max_label_object) { //Don't support too many objects on one plate
|
print.num_object_instances() <= g_max_label_object && //Don't support too many objects on one plate
|
||||||
|
print.calib_params().mode == CalibMode::Calib_None) { //Don't support skipping in cali mode
|
||||||
m_enable_label_object = true;
|
m_enable_label_object = true;
|
||||||
m_label_objects_ids.clear();
|
m_label_objects_ids.clear();
|
||||||
m_label_objects_ids.reserve(print.num_object_instances());
|
m_label_objects_ids.reserve(print.num_object_instances());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue