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>2012-11-27 13:41:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-27 13:41:08 +0400
commitc00a1b7493822abc62723e16082a908b221c6514 (patch)
treee02dca5c4258515e58c4859a3b2efd6544539c76 /source/blender/bmesh/operators/bmo_slide.c
parenta9855c227e6bfc955a6b2f15e8ee656218c3f916 (diff)
use clearer names for 'single' bmesh operator args & add '%e' to BMO_op_vinitf comments.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_slide.c')
-rw-r--r--source/blender/bmesh/operators/bmo_slide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_slide.c b/source/blender/bmesh/operators/bmo_slide.c
index 040c2d41e9c..ea9f9bf9eba 100644
--- a/source/blender/bmesh/operators/bmo_slide.c
+++ b/source/blender/bmesh/operators/bmo_slide.c
@@ -53,7 +53,7 @@ void bmo_slide_vert_exec(BMesh *bm, BMOperator *op)
int selected_edges = 0;
/* Get slide amount */
- const float distance_t = BMO_slot_float_get(op->slots_in, "distance_t");
+ const float factor = BMO_slot_float_get(op->slots_in, "factor");
/* Get start vertex */
vertex = BMO_slot_buffer_get_single(BMO_slot_get(op->slots_in, "vert"));
@@ -101,7 +101,7 @@ void bmo_slide_vert_exec(BMesh *bm, BMOperator *op)
BMO_elem_flag_enable(bm, vertex, VERT_MARK);
/* Interpolate */
- interp_v3_v3v3(vertex->co, vertex->co, other->co, distance_t);
+ interp_v3_v3v3(vertex->co, vertex->co, other->co, factor);
}
/* Return the new edge. The same previously marked with VERT_MARK */