diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-18 05:20:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-18 05:20:04 +0400 |
commit | 9cceec40c47543eb372bd9c1331901857b5f120a (patch) | |
tree | 0eb00b227a806279d6cf81593781dfd8656d5fd3 /source/blender/editors/transform/transform.c | |
parent | 2fefbf24a50c3cba1fe9ba984e9cfaeec4eae4a5 (diff) |
use modified vertex coords for calculating display thickness and intersections.
internal improvement to editmesh_bvh.c
- optionally pass cage-coords as an arg, rather then calculating the coords in BKE_bmbvh_new(),
since all callers already have coords calculated.
- de-duplicate coords creation function from knife and bmbvhm, move into own generic function: BKE_editmesh_vertexCos_get()
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 487c26aaf54..ca73405fb16 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -5176,7 +5176,7 @@ static int createEdgeSlideVerts(TransInfo *t) use_btree_disp = (v3d && t->obedit->dt > OB_WIRE && v3d->drawtype > OB_WIRE); if (use_btree_disp) { - btree = BKE_bmbvh_new(em, BMBVH_RESPECT_HIDDEN, NULL); + btree = BKE_bmbvh_new(em, BMBVH_RESPECT_HIDDEN, NULL, false); } else { btree = NULL; |