Blender Git Loki

Git Commits -> Revision 0feeea1

Revision 0feeea1 by Campbell Barton (master)
November 10, 2018, 07:55 (GMT)
BMesh: avoid incorrect/invalid matrix calculation

- `BKE_object_scale_to_mat3` was used to get the worldspace scale,
without taking constraints, parenting etc into account.
- Don't pass object's into BMesh API, (prefer matrices instead).
- Avoid matrix invert for each edge-angle calculation.
- Avoid 2x matrix multiplies when looping over edge pairs.

Commit Details:

Full Hash: 0feeea1bd5fa6833bb9fc300db7b715ae5d94148
Parent Commit: dc21ef7
Lines Changed: +41, -41

5 Modified Paths:

/source/blender/bmesh/intern/bmesh_polygon.c (+12, -17) (Diff)
/source/blender/bmesh/intern/bmesh_polygon.h (+2, -3) (Diff)
/source/blender/bmesh/intern/bmesh_query.c (+5, -11) (Diff)
/source/blender/bmesh/intern/bmesh_query.h (+2, -4) (Diff)
/source/blender/editors/mesh/editmesh_select_similar.c (+20, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021