Blender Git Loki

Git Commits -> Revision 15079b0

Revision 15079b0 by Campbell Barton (master)
June 29, 2017, 02:19 (GMT)
Fix crash & performance regression w/ base lookup

Was doing O(n^2) list lookups with blender-render drawing & transform.
Also missing NULL checks would crash.

Use Object.base_flag (already used by new draw manager in places)
to avoid list lookup.

Note, transform still performs inefficient lookups,
but only for selected parents (like 2.7x), not all parents.

Commit Details:

Full Hash: 15079b0b439ac814600d33cca88c37a8df259f00
Parent Commit: e14fd19
Lines Changed: +8, -6

3 Modified Paths:

/source/blender/editors/space_outliner/outliner_select.c (+5, -2) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -2) (Diff)
/source/blender/editors/transform/transform_conversions.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021