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-03-07 05:06:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-07 05:06:18 +0400
commitf11d7a426f4ceaa914c76a120d4e420308801f3b (patch)
tree33d62f8065548503c169b9aa4fa42f4141dbc3dc /source/blender/editors/mesh/knifetool.c
parent400a0297b0b10dbed6a4f5fe8fddd9cdc58914af (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.c2
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)