From c0f72a2c38bc37c623ad8edf300f892dff6940a0 Mon Sep 17 00:00:00 2001 From: David Smith Date: Sun, 1 Mar 2020 23:00:41 -0500 Subject: safe_z_home: Support note_z_not_homed() in kinematics (#2500) Signed-off-by: David Smith --- klippy/extras/safe_z_home.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/extras/safe_z_home.py') diff --git a/klippy/extras/safe_z_home.py b/klippy/extras/safe_z_home.py index 0489fab7..5c21bd3c 100644 --- a/klippy/extras/safe_z_home.py +++ b/klippy/extras/safe_z_home.py @@ -48,6 +48,8 @@ class SafeZHoming: self._perform_z_hop(pos) else: self._perform_z_hop(pos) + if hasattr(toolhead.get_kinematics(), "note_z_not_homed"): + toolhead.get_kinematics().note_z_not_homed() # Determine which axes we need to home if not any([axis in params.keys() for axis in ['X', 'Y', 'Z']]): -- cgit v1.2.3-70-g09d2