From b65b5a40690e3a65878e8e359d3e9ddff7fce550 Mon Sep 17 00:00:00 2001 From: Brendon Murphy Date: Mon, 7 Jun 2010 09:22:56 +0000 Subject: Add_Mesh Clean Up. pt1. Re-call function is removed. [[Split portion of a mixed commit.]] --- add_mesh_3d_function_surface.py | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'add_mesh_3d_function_surface.py') diff --git a/add_mesh_3d_function_surface.py b/add_mesh_3d_function_surface.py index 6c061b18..c4abc838 100644 --- a/add_mesh_3d_function_surface.py +++ b/add_mesh_3d_function_surface.py @@ -120,16 +120,6 @@ safe_dict = dict([(k, globals().get(k, None)) for k in safe_list]) # op ... The operator that should be used. # op_args ... A dictionary with valid Blender # properties (operator arguments/parameters). -def store_recall_properties(ob, op, op_args): - if ob and op and op_args: - recall_properties = {} - - # Add the operator identifier and op parameters to the properties. - recall_properties['op'] = op.bl_idname - recall_properties['args'] = op_args - - # Store new recall properties. - ob['recall'] = recall_properties # calculates the matrix for the new object @@ -405,16 +395,6 @@ class AddZFunctionSurface(bpy.types.Operator): obj = create_mesh_object(context, verts, [], faces, "Z Function", edit, self.align_matrix) - # Store 'recall' properties in the object. - recall_args_list = { - "edit": True, - "equation": equation, - "div_x": div_x, - "div_y": div_y, - "size_x": size_x, - "size_y": size_y} - store_recall_properties(obj, self, recall_args_list) - return {'FINISHED'} def invoke(self, context, event): @@ -620,22 +600,6 @@ class AddXYZFunctionSurface(bpy.types.Operator): obj = create_mesh_object(context, verts, [], faces, "XYZ Function", props.edit, self.align_matrix) - # Store 'recall' properties in the object. - recall_args_list = { - "edit": True, - "x_eq": props.x_eq, - "y_eq": props.y_eq, - "z_eq": props.z_eq, - "range_u_min": props.range_u_min, - "range_u_max": props.range_u_max, - "range_u_step": props.range_u_step, - "wrap_u": props.wrap_u, - "range_v_min": props.range_v_min, - "range_v_max": props.range_v_max, - "range_v_step": props.range_v_step, - "wrap_v": props.wrap_v} - store_recall_properties(obj, self, recall_args_list) - return {'FINISHED'} def invoke(self, context, event): -- cgit v1.2.3