Skip to content
Snippets Groups Projects
Commit 73a29b9a authored by mano-wii's avatar mano-wii
Browse files

Fix Operator activation via shortcut key.

parent cb588a96
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
bl_info = { bl_info = {
"name": "Snap_Utilities_Line", "name": "Snap_Utilities_Line",
"author": "Germano Cavalcante", "author": "Germano Cavalcante",
"version": (5, 9, 8), "version": (5, 9, 9),
"blender": (2, 80, 0), "blender": (2, 80, 0),
"location": "View3D > TOOLS > Line Tool", "location": "View3D > TOOLS > Line Tool",
"description": "Extends Blender Snap controls", "description": "Extends Blender Snap controls",
......
...@@ -358,6 +358,7 @@ class SnapUtilities: ...@@ -358,6 +358,7 @@ class SnapUtilities:
else: else:
#init these variables to avoid errors #init these variables to avoid errors
self.obj = context.active_object self.obj = context.active_object
self.bm = None
self.geom = None self.geom = None
self.type = 'OUT' self.type = 'OUT'
self.location = Vector() self.location = Vector()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment