mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-05 22:37:41 -07:00
ENH:ban gcode to send print
jira: STUDIO-10518 Change-Id: I5958fe1bfea9a133d3adde6b0e64289f7ceb0f52 (cherry picked from commit 4b96f09a75ec07a756da55ace2ac7f6447c2681f)
This commit is contained in:
parent
899dfd83c8
commit
d3ad4067db
2 changed files with 5 additions and 3 deletions
|
|
@ -1923,8 +1923,10 @@ bool GUI_App::is_blocking_printing(MachineObject *obj_)
|
|||
if (!dev) return true;
|
||||
std::string target_model;
|
||||
if (obj_ == nullptr) {
|
||||
auto obj_ = dev->get_selected_machine();
|
||||
target_model = obj_->printer_type;
|
||||
auto obj_ = dev->get_selected_machine();
|
||||
if (obj_) {
|
||||
target_model = obj_->printer_type;
|
||||
}
|
||||
} else {
|
||||
target_model = obj_->printer_type;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12177,7 +12177,7 @@ void Plater::load_gcode(const wxString& filename)
|
|||
p->view3D->get_canvas3d()->remove_raycasters_for_picking(SceneRaycaster::EType::Bed);
|
||||
}
|
||||
|
||||
p->main_frame->update_slice_print_status(MainFrame::eEventPlateUpdate, false, true);//STUDIO-11512
|
||||
p->main_frame->update_slice_print_status(MainFrame::eEventPlateUpdate, false, false); //20250416 ban gcode to send print
|
||||
}
|
||||
|
||||
void Plater::reload_gcode_from_disk()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue