Blender Git Commit Log

Git Commits -> Revision 26d6872

Revision 26d6872 by Campbell Barton (master)
December 10, 2012, 07:53 (GMT)
fix for knife tool when the mouse was moved outside the clipped area the mouse line would reset to 0/0/0

a few areas that use ED_view3d_win_to_segment_clip() didnt take into account the case where the segment was filly clipped, some callers even needed the segment not to be clipped.
- added ED_view3d_win_to_segment()
- ED_view3d_win_to_segment_clip() now returns FALSE if the segment is totally clipped, but the start/ends of the line are not zero'd as they were before.

Commit Details:

Full Hash: 26d6872ef8421ef22f51d585e5821f1e15a0552e
SVN Revision: 52837
Parent Commit: b0a3615
Lines Changed: +39, -17

4 Modified Paths:

/source/blender/editors/include/ED_view3d.h (+2, -1) (Diff)
/source/blender/editors/mesh/editmesh_bvh.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_project.c (+35, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021