Blender Git Loki

Git Commits -> Revision 52d09da

Revision 52d09da by Germano Cavalcante (master)
March 30, 2021, 05:19 (GMT)
Knife: snap refactor, prepare for snap gizmo

Minor changes preparing for snap gizmo inclusion.

- Extract `knife_snap_edge_in_angle` into a utility function.
- Check the snap vertex on closest edge instead of the face.
- Add MODE_INVOKING state.
- Remove unnecessary NULL checks.
- Control 'ignore_edge_snapping' while dragging instead of checking
dragging in `knife_snap_update_from_mval`.

Ref D8220

Commit Details:

Full Hash: 52d09dad9c03d2214d1fde20bdc543f70b0174d3
Parent Commit: 73b5afd
Committed By: Campbell Barton
Lines Changed: +105, -107

1 Modified Path:

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