Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-22 06:52:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-22 06:52:05 +0300
commita1f74409ea3003a3eedb4d613336953a546c2397 (patch)
tree2ab50659327f18612a66f2c068b833c0831f45d9 /object_boolean_tools.py
parentf148c5613d166b0b7c63542417631d9807e61cb1 (diff)
Cleanup: redundant set/tuple use for comparison
Diffstat (limited to 'object_boolean_tools.py')
-rw-r--r--object_boolean_tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/object_boolean_tools.py b/object_boolean_tools.py
index 18cc0e4c..1c4220ae 100644
--- a/object_boolean_tools.py
+++ b/object_boolean_tools.py
@@ -355,7 +355,7 @@ class BTool_DrawPolyBrush(Operator):
actObj.select_set(state=True)
bpy.ops.gpencil.draw("INVOKE_DEFAULT", mode="DRAW_POLY")
- if event.type in {"RIGHTMOUSE"}:
+ if event.type == "RIGHTMOUSE":
# use this to pass to the Grease Pencil eraser (see T52321)
pass
@@ -396,7 +396,7 @@ class BTool_DrawPolyBrush(Operator):
return {"FINISHED"}
- if event.type in {"ESC"}:
+ if event.type == "ESC":
bpy.ops.ed.undo() # remove o Grease Pencil
self.set_cont_draw(context)