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:
authormeta-androcto <meta.androcto1@gmail.com>2019-12-02 04:43:30 +0300
committermeta-androcto <meta.androcto1@gmail.com>2019-12-02 04:43:30 +0300
commit6d5d8e187d913bbe4a477b063678c36eb50f1ce7 (patch)
tree65300cf25a0cbefadf565a76f57db7d242446956 /mesh_tools/__init__.py
parent7cfd041403732d6913415eeda89769ea7d424cfe (diff)
mesh tools: merge mesh relax: T71560
Diffstat (limited to 'mesh_tools/__init__.py')
-rw-r--r--mesh_tools/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mesh_tools/__init__.py b/mesh_tools/__init__.py
index 13238e50..9a1147b6 100644
--- a/mesh_tools/__init__.py
+++ b/mesh_tools/__init__.py
@@ -49,6 +49,7 @@ if "bpy" in locals():
importlib.reload(mesh_edges_length)
importlib.reload(pkhg_faces)
importlib.reload(mesh_cut_faces)
+ importlib.reload(mesh_relax)
else:
from . import mesh_offset_edges
@@ -63,6 +64,7 @@ else:
from . import mesh_edges_length
from . import pkhg_faces
from . import mesh_cut_faces
+ from . import mesh_relax
import bmesh
@@ -1013,6 +1015,8 @@ class VIEW3D_PT_edit_mesh_tools(Panel):
props.quad_method = props.ngon_method = 'BEAUTY'
row = col_top.row(align=True)
row.operator("mesh.tris_convert_to_quads")
+ row = col_top.row(align=True)
+ row.operator("mesh.relax")
# property group containing all properties for the gui in the panel
class EditToolsProps(PropertyGroup):
@@ -1134,6 +1138,7 @@ def register():
mesh_edges_length.register()
pkhg_faces.register()
mesh_cut_faces.register()
+ mesh_relax.register()
# unregistering and removing menus
@@ -1159,6 +1164,7 @@ def unregister():
mesh_edges_length.unregister()
pkhg_faces.unregister()
mesh_cut_faces.unregister()
+ mesh_relax.unregister()
if __name__ == "__main__":