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>2021-11-09 16:16:20 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-11-09 18:54:50 +0300
commit570331ca96a5e7a30c8896a07aad1960d5bd706e (patch)
tree50c59fc0ef69671eb6e29680ba584c5f924c29b5 /source/blender/draw
parentcc949f0a40237d38c3f57b7bd6e15415dcdab1bd (diff)
Fix T92928: Geometry nodes animation decorator wrong for vectors
Decorators were only added for the first item of an array. Decorators for all items of an array are added: - if the layout is flagged `UI_ITEM_PROP_DECORATE` automatically in `uiItemFullR` or - calling `uiItemDecoratorR` (but only in certain situations, see below) When calling `uiItemDecoratorR` with an index of 0, the following happens: - the index is passed to `uiItemDecoratorR_prop` - that checks with `ui_item_rna_is_expand` if decorators should be added to all items of an array - the check fails (because it only permits RNA_NO_INDEX -- which is -1) So two things we can do: - remain using `uiItemDecoratorR` (that would require to pass an index of RNA_NO_INDEX -- a bad level include -- or -1 - just use `uiLayoutSetPropDecorate` to flag the row properly This patch does later. Differential Revision: https://developer.blender.org/D13159
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions