From 7805692b57fac260e8738e26d935c5e229e9875c Mon Sep 17 00:00:00 2001
From: Alan Odom <clockmender@icloud.com>
Date: Wed, 29 Jan 2020 15:44:41 +0000
Subject: [PATCH] PDT: Fix Command Maths Exit

Maths Operations did not exit on completion, resulting in possible selection errors.
---
 precision_drawing_tools/pdt_command.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py
index d941dc2ae..0776feb87 100644
--- a/precision_drawing_tools/pdt_command.py
+++ b/precision_drawing_tools/pdt_command.py
@@ -228,6 +228,7 @@ def command_run(self, context):
     if operation == "M":
         try:
             command_maths(context, mode, pg, command[2:], mode)
+            return
         except PDT_MathsError:
             return
 
-- 
GitLab