diff options
author | Peter Kim <pk15950@gmail.com> | 2021-08-27 11:16:35 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2021-08-27 11:16:35 +0300 |
commit | 7dba879829469de6179302147d19cf17fb9fa94b (patch) | |
tree | 4c5925eea9505063761dbbcf4b1dcbc54fa998da /source/blender/makesrna/intern/rna_object.c | |
parent | 7652ee43ecbdbdfe3c873023ab52ef6a6436d889 (diff) |
Fix XR action map index initialization
This reverts 151eed752b01. Originally thought it was necessary to
initialize selected/active indices to -1 to prevent out-of-bounds
list access, but this is not needed since null checks are already
performed after obtaining list members via BLI_findlink().
In addition, leaving indices zero-initialized facilitates use of the
Python API, for example when displaying action map information in a
UI list.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
0 files changed, 0 insertions, 0 deletions