Blender Git Commit Log

Git Commits -> Revision 834523e

Revision 834523e by Bastien Montagne (master)
August 5, 2021, 15:21 (GMT)
Cleanup/Fix RNA array length accessors returning non-zero values in invalid cases.

This was apparently done in two places only, with a very cryptic comment
(`/* for raw_access, untested */`), and... I cannot see how returning a
non-zero length value for an array that does not exist or is not
accessible at least, would be anything but an obvious source of issues.

Note that both commits adding those lines are from stone ages (2009):
rBcbc2c1886dee and rB50e3bb7f5f34.

Commit Details:

Full Hash: 834523e2391b3c8dab393daa040e135d7b729f86
Parent Commit: 27b9cb7
Lines Changed: +2, -2

2 Modified Paths:

/source/blender/makesrna/intern/rna_constraint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021