diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 06:42:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-11 06:42:36 +0300 |
commit | 7f6946d4f7ba6addb1b7a4ae3a38b2220e1accc1 (patch) | |
tree | c4f3adad1e22e6799608446b15c1ed7028c18bc9 /release/scripts/op | |
parent | 65b922ad888faa937f056305a7522682b18d0e26 (diff) |
add torus script wasnt registering.
Diffstat (limited to 'release/scripts/op')
-rw-r--r-- | release/scripts/op/add_mesh_torus.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/op/add_mesh_torus.py b/release/scripts/op/add_mesh_torus.py index 53460ff264d..db4f90f05d1 100644 --- a/release/scripts/op/add_mesh_torus.py +++ b/release/scripts/op/add_mesh_torus.py @@ -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__": |