aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorEric Callahan <arksine.code@gmail.com>2022-11-13 10:18:37 -0500
committerKevinOConnor <kevin@koconnor.net>2023-02-01 11:07:16 -0500
commit4df1adeb2e168b9b87856e738d3109a57ba1cac6 (patch)
tree246c8a265a0376033d906ecf690179c777d32658 /klippy
parentead81fbf744c5962762d7b7634e8b497f9e6e898 (diff)
downloadkutter-4df1adeb2e168b9b87856e738d3109a57ba1cac6.tar.gz
kutter-4df1adeb2e168b9b87856e738d3109a57ba1cac6.tar.xz
kutter-4df1adeb2e168b9b87856e738d3109a57ba1cac6.zip
bed_mesh: do not load a profile on startup
Some users may not desire this behavior and others may wish to initialize to a profile not named default. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/extras/bed_mesh.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/klippy/extras/bed_mesh.py b/klippy/extras/bed_mesh.py
index 19e89e60..92c3ac54 100644
--- a/klippy/extras/bed_mesh.py
+++ b/klippy/extras/bed_mesh.py
@@ -129,7 +129,6 @@ class BedMesh:
def handle_connect(self):
self.toolhead = self.printer.lookup_object('toolhead')
self.bmc.print_generated_points(logging.info)
- self.pmgr.initialize()
def set_mesh(self, mesh):
if mesh is not None and self.fade_end != self.FADE_DISABLE:
self.log_fade_complete = True
@@ -1137,10 +1136,6 @@ class ProfileManager:
self.gcode.register_command(
'BED_MESH_PROFILE', self.cmd_BED_MESH_PROFILE,
desc=self.cmd_BED_MESH_PROFILE_help)
- def initialize(self):
- self._check_incompatible_profiles()
- if "default" in self.profiles:
- self.load_profile("default")
def get_profiles(self):
return self.profiles
def get_current_profile(self):