Blender Git Loki

Git Commits -> Revision 4e36ebf

Revision 4e36ebf by Bastien Montagne (master)
October 21, 2018, 15:17 (GMT)
Optimize meta-ball basis check.

`BKE_mball_is_basis_for()` was processing whole name, when we can
actually rule out most of cases by just checking third char of the ID
names first, which is much, much cheaper.

Even though MBalls are not much used nowadays, that's a nice
optimization when this is called over a whole Main database full of
meta-balls objects...

Commit Details:

Full Hash: 4e36ebf5936b68ba3b0bf59ba6a67a88cb201fad
Parent Commit: 96fef7d
Lines Changed: +5, -0

1 Modified Path:

/source/blender/blenkernel/intern/mball.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021