Blender Git Loki

Git Commits -> Revision 9a1ea68

Revision 9a1ea68 by Campbell Barton (master)
December 24, 2015, 09:30 (GMT)
BMesh: remove doubles fix/optimization

Changes to remove doubles face creation,
Recent change to remove doubles broke when the new faces already existed (rare occurrence),
however theres no point to return an existing double face.

Now check if the face exists before creating it.

Other changes:

- avoid 2x hash lookups on all mapped verts.
- fill in the vert array instead of calculating from edges.
- remove inefficient search of entire edge-array before adding to it.
(flag verts to ensure they're not used multiple times).
- move logic for transfusing edge-flags to edge creation.

Commit Details:

Full Hash: 9a1ea681e6fb840b31e43096fb0178e972eea1fc
Parent Commit: 4a356d7
Lines Changed: +89, -66

1 Modified Path:

/source/blender/bmesh/operators/bmo_removedoubles.c (+89, -66) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021