mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-12 14:26:10 -06:00
FIX: Cali thumbnails distinguish left and right nozzle
jira: STUDIO-9747 Change-Id: Ie28901288c166cdcd7403311cb467b72453c2ca4 (cherry picked from commit 0b3cd958d5b573276488c477540b122f116099ab)
This commit is contained in:
parent
39276e0c35
commit
44624274f5
6 changed files with 21 additions and 3 deletions
|
|
@ -3458,8 +3458,15 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
|||
int height = m_project_task_panel->get_bitmap_thumbnail()->GetSize().y;
|
||||
if (m_calib_method == CALI_METHOD_AUTO) {
|
||||
if (m_calib_mode == CalibMode::Calib_PA_Line) {
|
||||
if (obj->is_multi_extruders())
|
||||
png_path = (boost::format("%1%/images/fd_calibration_auto_multi_extruders.png") % resources_dir()).str();
|
||||
if (obj->is_multi_extruders()) {
|
||||
if (obj->m_extder_data.current_extder_id == 0) {
|
||||
png_path = (boost::format("%1%/images/fd_calibration_auto_multi_extruders_right.png") % resources_dir()).str();
|
||||
}
|
||||
else {
|
||||
assert(obj->m_extder_data.current_extder_id == 1);
|
||||
png_path = (boost::format("%1%/images/fd_calibration_auto_multi_extruders_left.png") % resources_dir()).str();
|
||||
}
|
||||
}
|
||||
else if (obj->get_printer_arch() == PrinterArch::ARCH_I3)
|
||||
png_path = (boost::format("%1%/images/fd_calibration_auto_i3.png") % resources_dir()).str();
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue