[Bf-extensions-cvs] [7805692b] blender-v2.82-release: PDT: Fix Command Maths Exit

Alan Odom noreply at git.blender.org
Sat Feb 1 16:44:49 CET 2020


Commit: 7805692b57fac260e8738e26d935c5e229e9875c
Author: Alan Odom
Date:   Wed Jan 29 15:44:41 2020 +0000
Branches: blender-v2.82-release
https://developer.blender.org/rBA7805692b57fac260e8738e26d935c5e229e9875c

PDT: Fix Command Maths Exit

Maths Operations did not exit on completion, resulting in possible selection errors.

===================================================================

M	precision_drawing_tools/pdt_command.py

===================================================================

diff --git a/precision_drawing_tools/pdt_command.py b/precision_drawing_tools/pdt_command.py
index d941dc2a..0776feb8 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



More information about the Bf-extensions-cvs mailing list