add torus script wasnt registering.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 11 Feb 2011 03:42:36 +0000 (03:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 11 Feb 2011 03:42:36 +0000 (03:42 +0000)
release/scripts/op/add_mesh_torus.py

index 53460ff..db4f90f 100644 (file)
@@ -142,10 +142,12 @@ def menu_func(self, context):
 
 
 def register():
+    bpy.utils.register_class(AddTorus)
     bpy.types.INFO_MT_mesh_add.append(menu_func)
 
 
 def unregister():
+    bpy.utils.unregister_class(AddTorus)
     bpy.types.INFO_MT_mesh_add.remove(menu_func)
 
 if __name__ == "__main__":