Browse Source

Allow G29 P1 R to generate the mesh

Fix the logic change that happened when UBL got merged.
Roxy-3D 8 years ago
parent
commit
c377c59d47
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      Marlin/UBL_G29.cpp

+ 5
- 7
Marlin/UBL_G29.cpp View File

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

Loading…
Cancel
Save