Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kim <pk15950@gmail.com>2021-08-27 11:16:35 +0300
committerPeter Kim <pk15950@gmail.com>2021-08-27 11:16:35 +0300
commit7dba879829469de6179302147d19cf17fb9fa94b (patch)
tree4c5925eea9505063761dbbcf4b1dcbc54fa998da /source/blender/editors/space_buttons
parent7652ee43ecbdbdfe3c873023ab52ef6a6436d889 (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/editors/space_buttons')
0 files changed, 0 insertions, 0 deletions