~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to release/scripts/addons_contrib/add_mesh_chain_rope/__init__.py

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-05-12 20:02:22 UTC
  • mfrom: (14.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20120512200222-lznjs2cxzaq96wua
Tags: 2.63a-1
* New upstream bugfix release
  + debian/patches/: re-worked since source code changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
bl_info = {
2
 
    "name": "Oscurart Chain and Rope Maker",
3
 
    "author": "Oscurart",
4
 
    "version": (1,1),
5
 
    "blender": (2, 6, 2),
6
 
    "api": 3800,
7
 
    "location": "Add > Mesh",
8
 
    "description": "Create chains and ropes",
9
 
    "warning": "",
10
 
    "wiki_url": "oscurart.blogspot.com",
11
 
    "tracker_url": "",
12
 
    "category": "Object"}
13
 
 
14
 
 
15
 
import bpy
16
 
from .oscurart_rope_maker import * 
17
 
from .oscurart_chain_maker import *
18
 
 
19
 
def register():
20
 
    bpy.utils.register_class(OBJECT_OT_add_object)
21
 
    bpy.types.INFO_MT_curve_add.append(oscRopeButton)
22
 
    bpy.utils.register_module(__name__)
23
 
    bpy.types.INFO_MT_mesh_add.append(menu_oscChain)
24
 
 
25
 
def unregister():
26
 
    bpy.utils.unregister_class(OBJECT_OT_add_object)
27
 
    bpy.types.INFO_MT_curve_add.remove(oscRopeButton)
28
 
    bpy.utils.unregister_module(__name__)
29
 
    bpy.types.INFO_MT_mesh_add.remove(menu_oscChain)    
30
 
 
31
 
if __name__ == "__main__":
32
 
    register()
33
 
 
34
 
 
35
 
 
36
 
 
37