Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-12-15 03:53:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-15 03:53:34 +0300
commitded4cbb553f0a5bdc3e8b62b82932429848f37ee (patch)
tree7a725c5176ee3c1ae045c6b5e87acc41f62cfe96 /source/blender/editors/mesh/editmesh_mods.c
parent9fe37d9970f649cff108c9d3f7bfb492515d4f0c (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.c3
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);