diff options
Diffstat (limited to 'add_mesh_3d_function_surface.py')
-rw-r--r-- | add_mesh_3d_function_surface.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/add_mesh_3d_function_surface.py b/add_mesh_3d_function_surface.py index 8828d366..9816e05d 100644 --- a/add_mesh_3d_function_surface.py +++ b/add_mesh_3d_function_surface.py @@ -182,12 +182,12 @@ def createObject(context, verts, faces, name, edit): # Recreate geometry of existing object obj_act = context.active_object ob_new = obj_act - + bpy.ops.object.mode_set(mode='EDIT') bpy.ops.mesh.select_all(action='SELECT') bpy.ops.mesh.delete(type='VERT') bpy.ops.object.mode_set(mode='OBJECT') - + ob_new.data = mesh ob_new.selected = True @@ -204,7 +204,7 @@ def createObject(context, verts, faces, name, edit): ob_new.location = scene.cursor_location obj_act = scene.objects.active - + apply_view_rotation(context, ob_new) if obj_act and obj_act.mode == 'EDIT': @@ -240,7 +240,7 @@ class AddZFunctionSurface(bpy.types.Operator): # edit - Whether to add or update. edit = BoolProperty(name="", - description="", + description="", default=False, options={'HIDDEN'}) @@ -472,7 +472,7 @@ class AddXYZFunctionSurface(bpy.types.Operator): # edit - Whether to add or update. edit = BoolProperty(name="", - description="", + description="", default=False, options={'HIDDEN'}) |