projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: use normalize_v#_length
[blender.git]
/
source
/
blender
/
editors
/
mesh
/
editmesh_extrude.c
diff --git
a/source/blender/editors/mesh/editmesh_extrude.c
b/source/blender/editors/mesh/editmesh_extrude.c
index 1dfb1cddd2c94caad6aa47d0d50b56b45fc8c58c..d4c49833c2c548a469e23a2eb227caaad7dc5386 100644
(file)
--- a/
source/blender/editors/mesh/editmesh_extrude.c
+++ b/
source/blender/editors/mesh/editmesh_extrude.c
@@
-287,8
+287,7
@@
static int edbm_extrude_repeat_exec(bContext *C, wmOperator *op)
short a;
/* dvec */
- normalize_v3_v3(dvec, rv3d->persinv[2]);
- mul_v3_fl(dvec, offs);
+ normalize_v3_v3_length(dvec, rv3d->persinv[2], offs);
/* base correction */
copy_m3_m4(bmat, obedit->obmat);