FIX: fix a status synchronizing issue

Change-Id: Iefec80b8a48d0e86e4cf2d15ca00b9bfdb7b0c4a
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2023-06-21 17:37:00 +08:00 committed by Lane.Wei
parent 3aeb66174d
commit 633d206732
1 changed files with 4 additions and 0 deletions

View File

@ -2308,6 +2308,10 @@ void MachineObject::reset()
extruder_axis_status = LOAD;
nozzle_diameter = 0.0f;
// reset print_json
json empty_j;
print_json.diff2all_base_reset(empty_j);
vt_tray.reset();
subtask_ = nullptr;