Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Keith <aaroninusa@gmail.com>2010-11-08 11:26:50 +0300
committerAaron Keith <aaroninusa@gmail.com>2010-11-08 11:26:50 +0300
commit5b0bf07235337163c2a28b9413181a3cce480798 (patch)
tree3d9aacb7ec29bd24f0f0c044e03d3a5d9760c3c9 /add_mesh_BoltFactory/Boltfactory.py
parent0f094dc171561bccdcbcd31c010f18ff655ab895 (diff)
Now works in edit mode
Diffstat (limited to 'add_mesh_BoltFactory/Boltfactory.py')
-rw-r--r--add_mesh_BoltFactory/Boltfactory.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/add_mesh_BoltFactory/Boltfactory.py b/add_mesh_BoltFactory/Boltfactory.py
index 61da6ac3..e2e396c7 100644
--- a/add_mesh_BoltFactory/Boltfactory.py
+++ b/add_mesh_BoltFactory/Boltfactory.py
@@ -50,6 +50,13 @@ class add_mesh_bolt(bpy.types.Operator):
align_matrix = mathutils.Matrix()
MAX_INPUT_NUMBER = 50
+
+ # edit - Whether to add or update.
+ edit = BoolProperty(name="",
+ description="",
+ default=False,
+ options={'HIDDEN'})
+
#Model Types
Model_Type_List = [('bf_Model_Bolt','BOLT','Bolt Model'),
@@ -291,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 #####