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:
authorPhilipp Oeser <info@graphics-engineer.com>2022-04-21 15:30:13 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-04-21 17:18:05 +0300
commitf6d5d017150c54c1f359f6341d758196584ee9eb (patch)
treefa1d96b5675803427db2df6268a17dff6be1943c /release/datafiles/colormanagement/config.ocio
parentb9799dfb8a78dddbb3591dcb3e0b4de954c80fee (diff)
Fix T97502: Issues/crashes with "color_attributes" AttributeGroup
Property collection functions were not really in sync which could result in crashes in UI_LISTS. The reason is that attributes of type color defined on domains other than Points or Corners are still valid, but should really be skipped for the special "color_attributes". `rna_AttributeGroup_color_length` itself was fine here, it skips these, but the iterator (`rna_AttributeGroup_color_iterator_begin` / `rna_Attributes_noncolor_layer_skip`) wasnt, so when a UI_LIST filter_items() would iterate the collection it would actually get results were it shouldnt. Now check a suiting domain in `rna_Attributes_noncolor_layer_skip` as well. Maniphest Tasks: T97502 Differential Revision: https://developer.blender.org/D14717
Diffstat (limited to 'release/datafiles/colormanagement/config.ocio')
0 files changed, 0 insertions, 0 deletions