Browse Source

Move ExtUI ABL mesh edit, limit to bilinear (#20381)

* Move ExtUI call

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Co-authored-by: Victor Mateus Oliveira <rhapsodyv@gmail.com>
Co-authored-by: Sebastiaan Dammann <sebastiaandammann@outlook.com>
InsanityAutomation 4 years ago
parent
commit
3404cb1fc4
No account linked to committer's email address
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      Marlin/src/gcode/bedlevel/abl/G29.cpp

+ 4
- 2
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

177
     if (DISABLED(PROBE_MANUALLY) && seenQ) G29_RETURN(false);
177
     if (DISABLED(PROBE_MANUALLY) && seenQ) G29_RETURN(false);
178
   #endif
178
   #endif
179
 
179
 
180
-  TERN_(EXTENSIBLE_UI, ExtUI::onMeshLevelingStart());
181
-
182
   const bool seenA = TERN0(PROBE_MANUALLY, parser.seen('A')),
180
   const bool seenA = TERN0(PROBE_MANUALLY, parser.seen('A')),
183
          no_action = seenA || seenQ,
181
          no_action = seenA || seenQ,
184
               faux = ENABLED(DEBUG_LEVELING_FEATURE) && DISABLED(PROBE_MANUALLY) ? parser.boolval('C') : no_action;
182
               faux = ENABLED(DEBUG_LEVELING_FEATURE) && DISABLED(PROBE_MANUALLY) ? parser.boolval('C') : no_action;
399
       points[0].z = points[1].z = points[2].z = 0;  // Probe at 3 arbitrary points
397
       points[0].z = points[1].z = points[2].z = 0;  // Probe at 3 arbitrary points
400
     #endif
398
     #endif
401
 
399
 
400
+    #if BOTH(AUTO_BED_LEVELING_BILINEAR, EXTENSIBLE_UI)
401
+      ExtUI::onMeshLevelingStart();
402
+    #endif
403
+
402
     if (!faux) remember_feedrate_scaling_off();
404
     if (!faux) remember_feedrate_scaling_off();
403
 
405
 
404
     // Disable auto bed leveling during G29.
406
     // Disable auto bed leveling during G29.

Loading…
Cancel
Save