Blender Git Loki
Git Commits -> Revision 7dba879
August 27, 2021, 08:16 (GMT) |
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. |
Commit Details:
Full Hash: 7dba879829469de6179302147d19cf17fb9fa94b
Parent Commit: 7652ee4
Lines Changed: +16, -36