From 06296a534672ca2e0ce788b736084887a255bad5 Mon Sep 17 00:00:00 2001 From: Jeremy Hammett Date: Sat, 28 Apr 2012 15:22:10 +0200 Subject: [PATCH] Issue 174 - Correct layer-count when z is lifted for travel moves --- pronsole.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pronsole.py b/pronsole.py index 3179e56..d38dfcd 100755 --- a/pronsole.py +++ b/pronsole.py @@ -145,7 +145,7 @@ def estimate_duration(g): y = get_coordinate_value("Y", parts[1:]) if y is None: y=lasty z = get_coordinate_value("Z", parts[1:]) - if z is None: z=lastz + if (z is None) or (z