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

mesh_snap_utilities_line: reset length_entered_value

parent 25ae9e13
Branches
Tags
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, 8, 28), "version": (5, 8, 29),
"blender": (2, 80, 0), "blender": (2, 80, 0),
"location": "View3D > TOOLS > Make Line", "location": "View3D > TOOLS > Make Line",
"description": "Extends Blender Snap controls", "description": "Extends Blender Snap controls",
......
...@@ -377,6 +377,7 @@ class SnapUtilitiesLine(bpy.types.Operator): ...@@ -377,6 +377,7 @@ class SnapUtilitiesLine(bpy.types.Operator):
self.length_entered_value = 0.0 #invalid self.length_entered_value = 0.0 #invalid
self.report({'INFO'}, "Operation not supported yet") self.report({'INFO'}, "Operation not supported yet")
else: else:
self.length_entered_value = 0.0
self.bool_update = True self.bool_update = True
elif event.type in self.constrain_keys: elif event.type in self.constrain_keys:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment