diff options
author | Bastien Montagne <bastien@blender.org> | 2021-08-05 17:48:16 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-08-05 18:21:25 +0300 |
commit | 834523e2391b3c8dab393daa040e135d7b729f86 (patch) | |
tree | 10ecb8b15c6a0ee690e744bd240f5bad01c4b0ba /source/blender/blenkernel/intern/constraint.c | |
parent | 27b9cb7a1e675930d348300fb11446a0c6d35fde (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
0 files changed, 0 insertions, 0 deletions