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:
authorBrendon Murphy <meta.androcto1@gmail.com>2011-12-30 08:45:10 +0400
committerBrendon Murphy <meta.androcto1@gmail.com>2011-12-30 08:45:10 +0400
commitb23a4709325745a9ea8927db390dc0c336c2fa79 (patch)
treeecb4c4459c6332d903a21120d6dc08a8bb5c0c10 /add_mesh_pipe_joint.py
parent479efca181c7d2aa3c08735596f7b2dad61cf461 (diff)
added operator preset function
Diffstat (limited to 'add_mesh_pipe_joint.py')
-rw-r--r--add_mesh_pipe_joint.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/add_mesh_pipe_joint.py b/add_mesh_pipe_joint.py
index 3f47a89e..80f13ca9 100644
--- a/add_mesh_pipe_joint.py
+++ b/add_mesh_pipe_joint.py
@@ -20,8 +20,8 @@ bl_info = {
"name": "Pipe Joints",
"author": "Buerbaum Martin (Pontiac)",
"version": (0, 10, 7),
- "blender": (2, 5, 9),
- "api": 39685,
+ "blender": (2, 6, 1),
+ "api": 42973,
"location": "View3D > Add > Mesh > Pipe Joints",
"description": "Add different types of pipe joints",
"warning": "",
@@ -127,7 +127,7 @@ class AddElbowJoint(bpy.types.Operator):
'''Add an Elbow pipe mesh'''
bl_idname = "mesh.primitive_elbow_joint_add"
bl_label = "Add Pipe Elbow"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
radius = FloatProperty(name="Radius",
description="The radius of the pipe",
@@ -228,7 +228,7 @@ class AddTeeJoint(bpy.types.Operator):
'''Add a Tee-Joint mesh'''
bl_idname = "mesh.primitive_tee_joint_add"
bl_label = "Add Pipe Tee-Joint"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
radius = FloatProperty(name="Radius",
description="The radius of the pipe",
@@ -405,7 +405,7 @@ class AddWyeJoint(bpy.types.Operator):
'''Add a Wye-Joint mesh'''
bl_idname = "mesh.primitive_wye_joint_add"
bl_label = "Add Pipe Wye-Joint"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
radius = FloatProperty(name="Radius",
description="The radius of the pipe",
@@ -600,7 +600,7 @@ class AddCrossJoint(bpy.types.Operator):
# Create the vertices and polygons for a coss (+ or X) pipe joint.
bl_idname = "mesh.primitive_cross_joint_add"
bl_label = "Add Pipe Cross-Joint"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
radius = FloatProperty(name="Radius",
description="The radius of the pipe",
@@ -855,7 +855,7 @@ class AddNJoint(bpy.types.Operator):
# Create the vertices and polygons for a regular n-joint.
bl_idname = "mesh.primitive_n_joint_add"
bl_label = "Add Pipe N-Joint"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
radius = FloatProperty(name="Radius",
description="The radius of the pipe",