[Bf-extensions-cvs] [cf9a8fe] master: add mesh extra objects: add triangle mesh T36524
meta-androcto
noreply at git.blender.org
Thu Apr 13 09:12:06 CEST 2017
Commit: cf9a8fe381ef820b7035471f1b59f3b901c8e51e
Author: meta-androcto
Date: Thu Apr 13 17:11:34 2017 +1000
Branches: master
https://developer.blender.org/rBAcf9a8fe381ef820b7035471f1b59f3b901c8e51e
add mesh extra objects: add triangle mesh T36524
===================================================================
M add_mesh_extra_objects/__init__.py
===================================================================
diff --git a/add_mesh_extra_objects/__init__.py b/add_mesh_extra_objects/__init__.py
index b3eb833..2b42692 100644
--- a/add_mesh_extra_objects/__init__.py
+++ b/add_mesh_extra_objects/__init__.py
@@ -29,10 +29,18 @@ bl_info = {
"location": "View3D > Add > Mesh",
"description": "Add extra mesh object types",
"warning": "",
- "wiki_url": "https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Extra",
+ "wiki_url": "http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Extra",
"category": "Add Mesh",
}
+from .geodesic_domes import __init__
+from .geodesic_domes import add_shape_geodesic
+from .geodesic_domes import forms_271
+from .geodesic_domes import geodesic_classes_271
+from .geodesic_domes import third_domes_panel_271
+from .geodesic_domes import vefm_271
+
+
if "bpy" in locals():
import importlib
importlib.reload(add_mesh_star)
@@ -56,11 +64,7 @@ if "bpy" in locals():
importlib.reload(add_mesh_beam_builder)
importlib.reload(Wallfactory)
importlib.reload(Blocks)
- importlib.reload(add_shape_geodesic)
- importlib.reload(forms_271)
- importlib.reload(geodesic_classes_271)
- importlib.reload(third_domes_panel_271)
- importlib.reload(vefm_271)
+ importlib.reload(add_mesh_triangles)
else:
from . import add_mesh_star
from . import add_mesh_twisted_torus
@@ -83,12 +87,7 @@ else:
from . import add_mesh_beam_builder
from . import Wallfactory
from . import Blocks
-
- from .geodesic_domes import add_shape_geodesic
- from .geodesic_domes import forms_271
- from .geodesic_domes import geodesic_classes_271
- from .geodesic_domes import third_domes_panel_271
- from .geodesic_domes import vefm_271
+ from . import add_mesh_triangles
import bpy
from bpy.types import Menu
@@ -162,7 +161,7 @@ class INFO_MT_mesh_math_add(Menu):
layout.operator("mesh.primitive_xyz_function_surface",
text="XYZ Math Surface")
self.layout.operator("mesh.primitive_solid_add", text="Regular Solid")
-
+ self.layout.operator("mesh.make_triangle", icon = "MESH_DATA")
class INFO_MT_mesh_mech(Menu):
# Define the "Math Function" menu
More information about the Bf-extensions-cvs
mailing list