Blender Git Loki

Git Commits -> Revision 6a885e5

Revision 6a885e5 by Campbell Barton (master)
December 15, 2021, 12:40 (GMT)
Fix meta-ball bound-box calculation reading past buffer bounds

This broke "test_undo.view3d_multi_mode_select" test in
"lib/tests/ui_simulate" and is likely exposed by recent changes to
bounding box calculation.

The missing check for DL_INDEX4 dates back to code from 2002 which
intended to check this but was checking for DL_INDEX3 twice
which got removed as part of a cleaned up.

This could be hidden from memory checking tools as meta-balls
over-allocate vertex arrays.

Commit Details:

Full Hash: 6a885e5d89599d5acec8792bcb6aab49b6c4773c
Parent Commit: 3a856f7
Lines Changed: +1, -1

1 Modified Path:

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