Skip to content
Snippets Groups Projects
Commit 98dd577f authored by Sebastian Nell's avatar Sebastian Nell
Browse files

Addons: Mesh Border Deselect Outer - updated info, make operator remove its temporary BMLayer

parent ed3ea8d8
Branches
No related tags found
No related merge requests found
...@@ -6,12 +6,15 @@ bl_info = { ...@@ -6,12 +6,15 @@ bl_info = {
"author": "CoDEmanX", "author": "CoDEmanX",
"version": (1, 2), "version": (1, 2),
"blender": (2, 66, 0), "blender": (2, 66, 0),
"location": "View3D > Spacebar > Border Deselect Outer", "location": "View3D > EditMode > Select",
"description": "Make a selection, then run this operator to border-select the desired selection intersection", "description": "Make a selection, then run this operator " \
"to border-select the desired selection intersection",
"warning": "", "warning": "",
"wiki_url": "", "wiki_url": "http://wiki.blender.org/index.php" \
"tracker_url": "", "?title=Extensions:2.6/Py/Scripts/Modeling/Border_Deselect_Outer",
"category": "3D View"} "tracker_url": "http://blenderartists.org/forum/showthread.php" \
"?290617-Mesh-Border-Deselect-Outer-(selection-intersection-by-using-a-border-select)",
"category": "Mesh"}
def store_sel(): def store_sel():
...@@ -34,6 +37,8 @@ def restore_sel(me): ...@@ -34,6 +37,8 @@ def restore_sel(me):
if not (v.select and v.link_loops[0][sel]): if not (v.select and v.link_loops[0][sel]):
v.select_set(False) v.select_set(False)
bm.loops.layers.int.remove(sel)
#bm.select_mode = {'VERT'} #bm.select_mode = {'VERT'}
#bm.select_flush_mode() #bm.select_flush_mode()
bm.select_flush(False) bm.select_flush(False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment