Blender Git Loki

Git Commits -> Revision ce34f93

Revision ce34f93 by Dalai Felinto (master)
August 24, 2018, 14:33 (GMT)
MESH_OT_select_axis: Make it work with world axis, not local ones

Not, I tried using `dist_signed_squared_to_plane_v3` but profiling showed that
it is 50% slower than using regular `mul_v3_m4v3` for the verts.

I managed to get this number closer when manually inlining all the functions
called by `dist_signed_squared_to_plane_v3`. But still `mul_v3_m4v3` was better
and it makes the code simpler to understand.

Also I'm changing the default mode to positive, no idea why it was negative as
default in the first place.

Last but not least, the operator only works well on redo. This was a problem
before, not introduced by this patch.

Commit Details:

Full Hash: ce34f9348fa35a66a1ffebdaef6e007c5e39eb25
Parent Commit: 00ab0b0
Lines Changed: +17, -7

1 Modified Path:

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