From 7e5886427d2cc56b6e528d2a7f9411632fdbce23 Mon Sep 17 00:00:00 2001 From: alfrix Date: Sun, 21 Apr 2024 19:47:35 -0300 Subject: [PATCH] bed_mesh: fix round bed not loading fixes #1343 --- ks_includes/widgets/bedmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ks_includes/widgets/bedmap.py b/ks_includes/widgets/bedmap.py index 3b477b33..91e2ba43 100644 --- a/ks_includes/widgets/bedmap.py +++ b/ks_includes/widgets/bedmap.py @@ -31,7 +31,7 @@ class BedMap(Gtk.DrawingArea): continue logging.info(f"{key}: {value}") if radius: - self.mesh_radius = radius + self.mesh_radius = float(radius) if 'mesh_min' in bm: self.mesh_min = bm['mesh_min'] if 'mesh_max' in bm: