diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-07 05:06:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-07 05:06:18 +0400 |
commit | f11d7a426f4ceaa914c76a120d4e420308801f3b (patch) | |
tree | 33d62f8065548503c169b9aa4fa42f4141dbc3dc /source/blender/editors/mesh/knifetool.c | |
parent | 400a0297b0b10dbed6a4f5fe8fddd9cdc58914af (diff) |
fix for bug in ED_view3d_project_float that only effected the 'Rip' tool.
when the source and destination vectors were the same pointer, the X value would get overwritten.
now the rip tool uses the best side to grab as in trunk.
Diffstat (limited to 'source/blender/editors/mesh/knifetool.c')
-rw-r--r-- | source/blender/editors/mesh/knifetool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/knifetool.c b/source/blender/editors/mesh/knifetool.c index fcf9effee4a..b026ddd19fb 100644 --- a/source/blender/editors/mesh/knifetool.c +++ b/source/blender/editors/mesh/knifetool.c @@ -177,7 +177,7 @@ static void knife_input_ray_cast(knifetool_opdata *kcd, const int mval_i[2], static void knife_project_v3(knifetool_opdata *kcd, const float co[3], float sco[3]) { - ED_view3d_project_float(kcd->ar, co, sco, kcd->projmat); + ED_view3d_project_float_v3(kcd->ar, co, sco, kcd->projmat); } static ListBase *knife_empty_list(knifetool_opdata *kcd) |