Blender Git Loki

Git Commits -> Revision ac5f011

Revision ac5f011 by Germano Cavalcante (master)
July 20, 2020, 11:52 (GMT)
Fix T70455: Knife Tool failing to cut edges

Analyzing the cuts, the points shown in the viewport (indicating the
previous and current cuts) do not correspond to the final cuts.

Sometimes a point, even snapped to a vert, is a point that cuts an edge and
sometimes a point, even snapped to an edge, is a point that cuts only the face.

This is because the detection of snapping vertices from mouse is different
from the "snap" that detects vertices that are cut.

So small projection inaccuracies can result in detection failures.

The solution for this is simply to confirm the cuts whose vertices
indicate the `prev` ou and `cur` point.

The tolerance distance does not need to be calculated in these cases.

Commit Details:

Full Hash: ac5f011e9c1fa7256b028c4b829f56470b1e8217
Parent Commit: 33ad95b
Lines Changed: +76, -48

1 Modified Path:

/source/blender/editors/mesh/editmesh_knife.c (+76, -48) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021