fix for api updates (menu registration)
authorBrendon Murphy <meta.androcto1@gmail.com>
Thu, 14 Apr 2011 04:27:42 +0000 (04:27 +0000)
committerBrendon Murphy <meta.androcto1@gmail.com>
Thu, 14 Apr 2011 04:27:42 +0000 (04:27 +0000)
added warning as the script is broken.

mesh_normal_smooth.py

index 830cec2b32fc7bd80f4f1272c638086e231c81a1..37780d410de64a2021f6e7cd0c47e8838175a9f7 100644 (file)
@@ -25,11 +25,11 @@ bl_info = {
     "name": "Normal Smooth",
     "author": "Dolf Veenvliet",
     "version": (7,),
-    "blender": (2, 5, 5),
-    "api": 32738,
+    "blender": (2, 5, 7),
+    "api": 36147,
     "location": "View3D > Specials > Normal Smooth ",
     "description": "Smooth the vertex position based on the normals",
-    "warning": "",
+    "warning": "Broken",
     "wiki_url": "",
     "tracker_url": "",
     "category": "Mesh"}
@@ -183,10 +183,14 @@ def menu_func(self, context):
 
 
 def register():
+    bpy.utils.register_module(__name__)
+
     bpy.types.VIEW3D_MT_edit_mesh_specials.append(menu_func)
     bpy.types.VIEW3D_MT_edit_mesh_vertices.append(menu_func)
 
 def unregister():
+    bpy.utils.unregister_module(__name__)
+
     bpy.types.VIEW3D_MT_edit_mesh_specials.remove(menu_func)
     bpy.types.VIEW3D_MT_edit_mesh_vertices.remove(menu_func)