Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mesh_extra_tools/mesh_vertex_chamfer.py')
-rw-r--r--mesh_extra_tools/mesh_vertex_chamfer.py13
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__":