FIX: fix bug that thumbnail is not display

Change-Id: Ic974e378fbcaea096f5e2aa8b40092d2ef3e8e54
This commit is contained in:
Stone Li 2022-07-26 12:46:29 +08:00 committed by Lane.Wei
parent 7a5771419a
commit 9a640be43c
3 changed files with 4 additions and 10 deletions

View file

@ -2360,6 +2360,8 @@ void MachineObject::update_slice_info(std::string project_id, std::string profil
if (plate_idx >= 0) {
plate_index = plate_idx;
} else {
if (subtask_id.compare("0") == 0)
return;
m_agent->get_task_plate_index(subtask_id, &plate_index);
}