diff options
author | Bastien Montagne <bastien@blender.org> | 2022-02-22 17:33:52 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-02-22 17:33:52 +0300 |
commit | 37fb69e02033b59895173aa2f47858ff3923afad (patch) | |
tree | a0d95f13e3df88d91f7e2a5fd53786d902ac0449 /build_files | |
parent | f449b8968819da3669a5a8a87ac0f5822b785a15 (diff) |
Fix (unreported) `RNA_property_editable_index`.
NOTE: This function is currently unused. However, it does use a callback
defined by a few RNA properties through
`RNA_def_property_editable_array_func`, so don't think it should be
removed without further thinking.
This function had two main issues:
* It was doing bitwise AND on potentially three sources of property
flag, when actually used `RNA_property_editable` just use one source
ever.
* It was completely ignoring liboverride cases.
TODO: Deduplicate code between `RNA_property_editable`,
`RNA_property_editable_info` and `RNA_property_editable_index`.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions