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:
authorMatt Ebb <matt@mke3.net>2010-03-10 07:23:08 +0300
committerMatt Ebb <matt@mke3.net>2010-03-10 07:23:08 +0300
commit081eca084db58e1cb5b43937464a1f32641a3067 (patch)
treebb3c60e871fafa8093fc0720575ab8aea812e517 /source/blender/editors/mesh/editmesh_add.c
parent54b4266bef2f6cb0f0060b325a5b1462404ac93a (diff)
Fix [#21515] New cubes don't follow grid size for height (Z)
Diffstat (limited to 'source/blender/editors/mesh/editmesh_add.c')
-rw-r--r--source/blender/editors/mesh/editmesh_add.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_add.c b/source/blender/editors/mesh/editmesh_add.c
index 93b8f4ba6e2..2e6a9d7a646 100644
--- a/source/blender/editors/mesh/editmesh_add.c
+++ b/source/blender/editors/mesh/editmesh_add.c
@@ -1291,6 +1291,7 @@ static void make_prim_ext(bContext *C, float *loc, float *rot, int enter_editmod
else DAG_id_flush_update(&obedit->id, OB_RECALC_DATA);
dia *= ED_object_new_primitive_matrix(C, loc, rot, mat);
+ depth *= ED_object_new_primitive_matrix(C, loc, rot, mat);
make_prim(obedit, type, mat, tot, seg, subdiv, dia, depth, ext, fill);