Browse Source

Merge pull request #6070 from Roxy-3D/RCBugFix

Allow G29 P1 R to generate the mesh
pull/1/head
Roxy-3D 8 years ago
committed by GitHub
parent
commit
06c31daa53
  1. 12
      Marlin/UBL_G29.cpp

12
Marlin/UBL_G29.cpp

@ -1324,14 +1324,12 @@
mx = blm.map_x_index_to_bed_location(i); // Check if we can probe this mesh location mx = blm.map_x_index_to_bed_location(i); // Check if we can probe this mesh location
my = blm.map_y_index_to_bed_location(j); my = blm.map_y_index_to_bed_location(j);
// If we are using the probe as the reference // If we are using the probe as the reference there are some locations we can't get to.
// there are some locations we can't get to. // We prune these out of the list and ignore them until the next Phase where we do the
// We prune these out of the list and ignore
// them until the next Phase where we do the
// manual nozzle probing. // manual nozzle probing.
if (probe_as_reference
&& (mx < (MIN_PROBE_X) || mx > (MAX_PROBE_X)) if (probe_as_reference &&
&& (my < (MIN_PROBE_Y) || my > (MAX_PROBE_Y)) ( mx < (MIN_PROBE_X) || mx > (MAX_PROBE_X) || my < (MIN_PROBE_Y) || my > (MAX_PROBE_Y) )
) continue; ) continue;
dx = px - mx; // We can get to it. Let's see if it is the dx = px - mx; // We can get to it. Let's see if it is the

Loading…
Cancel
Save