Blender Git Loki
Git Commits -> Revision 354b2a7
Revision 354b2a7 by Germano Cavalcante (master) February 5, 2020, 17:20 (GMT) |
Transform: Optimize edge slide The current edge slide is executed in this sequence: - traverses all edges to find the ones selected, - traverses each vertex of the selected edges, - traverses each linked edge of the vertex to finally execute the code. However the list of vertices that are part of selected edges are already stored in `EdgeSlideData` through the `TransDataEdgeSlideVert *sv;` member. Therefore, the code can be simplified as follows: - traverses all `sv` in `EdgeSlideData`, - get the `sv->v` vertex to finally execute the code. Differential Revision: https://developer.blender.org/D5277 |
Commit Details:
Full Hash: 354b2a7b1d45957612845d828648ea15514570c0
Parent Commit: b841167
Lines Changed: +57, -65
1 Modified Path:
/source/blender/editors/transform/transform.c (+57, -65) (Diff)