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_3d_function_surface.py
parent8b98016ceb5138576df21d64564afab45f34d973 (diff)
adding operator presets
Diffstat (limited to 'add_mesh_extra_objects/add_mesh_3d_function_surface.py')
-rw-r--r--add_mesh_extra_objects/add_mesh_3d_function_surface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/add_mesh_extra_objects/add_mesh_3d_function_surface.py b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
index fad7cb5d..f72a2583 100644
--- a/add_mesh_extra_objects/add_mesh_3d_function_surface.py
+++ b/add_mesh_extra_objects/add_mesh_3d_function_surface.py
@@ -149,7 +149,7 @@ class AddZFunctionSurface(bpy.types.Operator):
'''Add a surface defined defined by a function z=f(x,y)'''
bl_idname = "mesh.primitive_z_function_surface"
bl_label = "Add Z Function Surface"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
equation = StringProperty(name="Z Equation",
description="Equation for z=f(x,y)",
@@ -403,7 +403,7 @@ class AddXYZFunctionSurface(bpy.types.Operator):
+ ''' x=F1(u,v), y=F2(u,v) and z=F3(u,v)'''
bl_idname = "mesh.primitive_xyz_function_surface"
bl_label = "Add X,Y,Z Function Surface"
- bl_options = {'REGISTER', 'UNDO'}
+ bl_options = {'REGISTER', 'UNDO', 'PRESET'}
x_eq = StringProperty(name="X equation",
description="Equation for x=F(u,v). " \