diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-24 16:19:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-24 16:19:05 +0300 |
commit | 2275bac468132a9e3b82e3b2d1138a86e4294a86 (patch) | |
tree | 207158bb4a2bd0f307f16ced540fe7fd6c9b7a10 /add_mesh_BoltFactory | |
parent | 52efcbc744959deb4c36e2c723b63d8cc49e946d (diff) |
changes Operator names for new, stricter checking.
Diffstat (limited to 'add_mesh_BoltFactory')
-rw-r--r-- | add_mesh_BoltFactory/Boltfactory.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py index e2e396c7..aa6e470e 100644 --- a/add_mesh_BoltFactory/Boltfactory.py +++ b/add_mesh_BoltFactory/Boltfactory.py @@ -43,7 +43,7 @@ def align_matrix(context): class add_mesh_bolt(bpy.types.Operator): '''''' - bl_idname = 'add_mesh_bolt' + bl_idname = "mesh.bolt_add" bl_label = "Add Bolt" bl_options = {'REGISTER', 'UNDO'} bl_description = "adds many types of Bolts" @@ -71,7 +71,7 @@ class add_mesh_bolt(bpy.types.Operator): ('bf_Head_Cap','CAP','Cap Head'), ('bf_Head_Dome','DOME','Dome Head'), ('bf_Head_Pan','PAN','Pan Head'), - ('bf_Head_CounterSink','COUNTER SINK','Counter Sink Head')] + ('bf_Head_CounterSink','COUNTER SINK','Counter Sink Head')] bf_Head_Type = EnumProperty( attr='bf_Head_Type', name='Head', description='Choose the type off Head you would like', @@ -298,7 +298,7 @@ class add_mesh_bolt(bpy.types.Operator): #self.bf_Minor_Dia = self.bf_Major_Dia - (1.082532 * self.bf_Pitch) Create_New_Mesh(self, context, self.align_matrix) - + return {'FINISHED'} ##### INVOKE ##### |