Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow G29 P1 R to generate the mesh #6070

Merged
merged 1 commit into from
Mar 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions Marlin/UBL_G29.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1324,14 +1324,12 @@
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);

// If we are using the probe as the reference
// 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
// If we are using the probe as the reference 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
// manual nozzle probing.
if (probe_as_reference
&& (mx < (MIN_PROBE_X) || mx > (MAX_PROBE_X))
&& (my < (MIN_PROBE_Y) || my > (MAX_PROBE_Y))
if (probe_as_reference &&
( mx < (MIN_PROBE_X) || mx > (MAX_PROBE_X) || my < (MIN_PROBE_Y) || my > (MAX_PROBE_Y) )
) continue;

dx = px - mx; // We can get to it. Let's see if it is the
Expand Down