diff options
author | lijenstina <lijenstina@gmail.com> | 2017-05-21 08:26:34 +0300 |
---|---|---|
committer | lijenstina <lijenstina@gmail.com> | 2017-05-21 08:26:34 +0300 |
commit | 48a69db5444591ba88ca9794dbdb2b8d3a2c9984 (patch) | |
tree | 9e33a71a39736a8472bf039f6685c4b49c8b11ff /mesh_extra_tools/mesh_vertex_chamfer.py | |
parent | aaeb073354aa00abb198c52af42dfbafeb7e069a (diff) |
Mesh Extra Tools: Update to version 0.33, various fixes
Bump version to 0.33
Some Pep8 clean up and general fixes
Some UI updates
Replace Mesh to wall with a similar results script
mesh_edges_floor_plan (for reasons see T51483)
It is not 1 to 1 replacement but should be more stable
If someone wants to continue development it's absolutely
possible to be re-included later on
Vertex Align: cleanup and refactor code
introduce a stored alignment setting, proper help operator call
move the property group to init, remove register call
Mesh Check: cleanup
Move the UI element draw code from init
to the Face/Info select, cleanup
mesh_info_select:
Add a timer for redraw (not sure if it is the best solution)
Add settings remove refresh operator (as edit mode is available)
Mesh Edge Tools:
remove the Intersect_Line_Face operator, add general error handling
fix several crashes with non proper selections passed
Select tools - replace deprecated imp call
Diffstat (limited to 'mesh_extra_tools/mesh_vertex_chamfer.py')
-rw-r--r-- | mesh_extra_tools/mesh_vertex_chamfer.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mesh_extra_tools/mesh_vertex_chamfer.py b/mesh_extra_tools/mesh_vertex_chamfer.py index ba044663..d6fd8080 100644 --- a/mesh_extra_tools/mesh_vertex_chamfer.py +++ b/mesh_extra_tools/mesh_vertex_chamfer.py @@ -26,7 +26,6 @@ bl_info = { "location": "Spacebar Menu", "description": "Chamfer vertex", "wiki_url": "", - "tracker_url": "", "category": "Mesh"} @@ -133,9 +132,11 @@ class VertexChamfer(Operator): # Loop over all the loops of the vert for l in v.link_loops: # Split the face - bmesh.utils.face_split(l.face, - l.link_loop_next.vert, - l.link_loop_prev.vert) + bmesh.utils.face_split( + l.face, + l.link_loop_next.vert, + l.link_loop_prev.vert + ) # Remove the vert or displace otherwise if dissolve: @@ -149,11 +150,11 @@ class VertexChamfer(Operator): def register(): - bpy.utils.register_module(__name__) + bpy.utils.register_class(VertexChamfer) def unregister(): - bpy.utils.unregister_module(__name__) + bpy.utils.unregister_class(VertexChamfer) if __name__ == "__main__": |