From 6d445db5f36c3c37f26f3e8933a8f17721fc03d2 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Mon, 5 Dec 2016 15:10:31 -0600 Subject: [PATCH] Handle forward planning past commands a little better. --- g2core/plan_exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g2core/plan_exec.cpp b/g2core/plan_exec.cpp index 28cb26f0..85527f85 100644 --- a/g2core/plan_exec.cpp +++ b/g2core/plan_exec.cpp @@ -283,7 +283,7 @@ stat_t mp_exec_move() mp_planner_time_accounting(); } - if (bf->nx->buffer_state == MP_BUFFER_PREPPED) { + if (bf->nx->buffer_state >= MP_BUFFER_PREPPED) { // We go ahead and *ask* for a forward planning of the next move. // This won't call mp_plan_move until we leave this function // (and have called mp_exec_aline via bf->bf_func).