mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 13:30:37 -07:00
Fix: crash by wipe_tower_data's null pointer
jira: none Change-Id: Ic33c40f7dc27b6ca18a44a790c4e4e01d0305792 (cherry picked from commit 04d64d5e006ec11fecea73f324d1c129d5e02a42)
This commit is contained in:
parent
a8b5bfd809
commit
9dacc33e72
1 changed files with 1 additions and 1 deletions
|
|
@ -2946,7 +2946,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||
coordf_t plate_bbox_x_max_local_coord = plate_bbox_2d.max(0) - plate_origin(0);
|
||||
coordf_t plate_bbox_y_max_local_coord = plate_bbox_2d.max(1) - plate_origin(1);
|
||||
|
||||
if (!current_print->is_step_done(psWipeTower)) {
|
||||
if (!current_print->is_step_done(psWipeTower) || !current_print->wipe_tower_data().wipe_tower_mesh_data) {
|
||||
// update for wipe tower position
|
||||
{
|
||||
bool need_update = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue