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 10:06:32 +0400
committerBrendon Murphy <meta.androcto1@gmail.com>2011-12-30 10:06:32 +0400
commit147aaf7d3810dcda3f76a31bede45f67aeb3fa1b (patch)
tree7c491ad514d3bcb214c6a4f1e20321e6ca61477d /add_mesh_extra_objects/add_mesh_pyramid.py
parent8b98016ceb5138576df21d64564afab45f34d973 (diff)
adding operator presets
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_pyramid.py')
-rw-r--r--add_mesh_extra_objects/add_mesh_pyramid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_mesh_extra_objects/add_mesh_pyramid.py b/add_mesh_extra_objects/add_mesh_pyramid.py
index dd3f5e30..bf91b614 100644
--- a/add_mesh_extra_objects/add_mesh_pyramid.py
+++ b/add_mesh_extra_objects/add_mesh_pyramid.py
@@ -113,7 +113,7 @@ class AddPyramid(bpy.types.Operator, AddObjectHelper):
"""Add a Mesh Object"""
bl_idname = "mesh.primitive_steppyramid_add"
bl_label = "Pyramid"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
initial_size = FloatProperty(name="Initial Size", default=2.0,
min=0.0, max=20.0,