diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-15 03:53:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-15 03:53:34 +0300 |
commit | ded4cbb553f0a5bdc3e8b62b82932429848f37ee (patch) | |
tree | 7a725c5176ee3c1ae045c6b5e87acc41f62cfe96 /source/blender/editors/mesh/editmesh_mods.c | |
parent | 9fe37d9970f649cff108c9d3f7bfb492515d4f0c (diff) |
solidify would only work as expecyed if all faces were selected, added an override to extrude that means it runs without removing selected faces first, even on a partial selection
Diffstat (limited to 'source/blender/editors/mesh/editmesh_mods.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_mods.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c index 1d8b2b05592..1ff2d097100 100644 --- a/source/blender/editors/mesh/editmesh_mods.c +++ b/source/blender/editors/mesh/editmesh_mods.c @@ -4545,14 +4545,13 @@ void MESH_OT_flip_normals(wmOperatorType *ot) static int solidify_exec(bContext *C, wmOperator *op) { - Scene *scene= CTX_data_scene(C); Object *obedit= CTX_data_edit_object(C); EditMesh *em= BKE_mesh_get_editmesh(((Mesh *)obedit->data)); float nor[3] = {0,0,1}; float thickness= RNA_float_get(op->ptr, "thickness"); - extrudeflag(obedit, em, SELECT, nor); + extrudeflag(obedit, em, SELECT, nor, 1); EM_make_hq_normals(em); EM_solidify(em, thickness); |