Blender Git Commit Log

Git Commits -> Revision d9597ce

Revision d9597ce by Campbell Barton (master)
November 14, 2016, 20:29 (GMT)
BMesh: avoid extra calls per faces-of-vert iterator

- `bmesh_radial_faceloop_find_first` & `bmesh_disk_faceedge_find_first`
can be replaced with a single call to a new function:
`bmesh_disk_faceloop_find_first`

- `bmesh_disk_faceedge_find_first` called `bmesh_radial_facevert_check`
which isn't needed, since either the current or next loop in the
cycle is attached to the edge we're looking for.

Commit Details:

Full Hash: d9597ce3ba777a6a13d55aaab6b94ed277843ccc
Parent Commit: a3b61f0
Lines Changed: +24, -8

3 Modified Paths:

/source/blender/bmesh/intern/bmesh_iterators.c (+4, -4) (Diff)
/source/blender/bmesh/intern/bmesh_structure.c (+19, -4) (Diff)
/source/blender/bmesh/intern/bmesh_structure.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021