Fix Operator activation via shortcut key.

This commit is contained in:
Germano Cavalcante 2019-03-20 10:50:41 -03:00
parent cb588a96fd
commit 73a29b9a2f
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
bl_info = {
"name": "Snap_Utilities_Line",
"author": "Germano Cavalcante",
"version": (5, 9, 8),
"version": (5, 9, 9),
"blender": (2, 80, 0),
"location": "View3D > TOOLS > Line Tool",
"description": "Extends Blender Snap controls",

View File

@ -358,6 +358,7 @@ class SnapUtilities:
else:
#init these variables to avoid errors
self.obj = context.active_object
self.bm = None
self.geom = None
self.type = 'OUT'
self.location = Vector()