Explorar el Código

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

Allow G29 P1 R to generate the mesh
Roxy-3D hace 8 años
padre
commit
06c31daa53
Se han modificado 1 ficheros con 5 adiciones y 7 borrados
  1. 5
    7
      Marlin/UBL_G29.cpp

+ 5
- 7
Marlin/UBL_G29.cpp Ver fichero

@@ -1324,14 +1324,12 @@
1324 1324
           mx = blm.map_x_index_to_bed_location(i); // Check if we can probe this mesh location
1325 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 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 1333
           ) continue;
1336 1334
 
1337 1335
           dx = px - mx;         // We can get to it. Let's see if it is the

Loading…
Cancelar
Guardar