diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-12-21 19:00:19 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2018-12-21 19:00:19 +0300 |
commit | 5bce44b8becf656ec30ab2b9478d5cb230f0f0f1 (patch) | |
tree | 60b02e361666371e0bd770ba1b448df9d2acde2d /mesh_snap_utilities_line | |
parent | c48c4743bc49a15af4ff1770d330449a5f4505d5 (diff) |
mesh_snap_utilities_line: select the snapped element at the end of the operation
In the pre-blender2.8 versions, the elements were selected during the operation to be identified.
Now this is no longer necessary.
However, the ability to leave the last element selected proved useful.
Diffstat (limited to 'mesh_snap_utilities_line')
-rw-r--r-- | mesh_snap_utilities_line/__init__.py | 2 | ||||
-rw-r--r-- | mesh_snap_utilities_line/ops_line.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mesh_snap_utilities_line/__init__.py b/mesh_snap_utilities_line/__init__.py index 39c2f801..36b96255 100644 --- a/mesh_snap_utilities_line/__init__.py +++ b/mesh_snap_utilities_line/__init__.py @@ -22,7 +22,7 @@ bl_info = { "name": "Snap_Utilities_Line", "author": "Germano Cavalcante", - "version": (5, 8, 26), + "version": (5, 8, 27), "blender": (2, 80, 0), "location": "View3D > TOOLS > Make Line", "description": "Extends Blender Snap controls", diff --git a/mesh_snap_utilities_line/ops_line.py b/mesh_snap_utilities_line/ops_line.py index 9c5f38ed..a824a128 100644 --- a/mesh_snap_utilities_line/ops_line.py +++ b/mesh_snap_utilities_line/ops_line.py @@ -430,6 +430,8 @@ class SnapUtilitiesLine(bpy.types.Operator): elif event.type in {'RIGHTMOUSE', 'ESC'}: if not self.wait_for_input or not is_making_lines or event.type == 'ESC': + if self.geom: + self.geom.select = True self._exit(context) return {'FINISHED'} else: |