I18n: extract missing enum items for the Select Similar UV operator #108994

Merged
Bastien Montagne merged 1 commits from pioverfour/blender:dp_fix_similar_uv_items into blender-v3.6-release 2023-06-21 16:38:01 +02:00

1 Commits

Author SHA1 Message Date
Damien Picard a9ea9a6d70 I18n: extract missing enum items for the Select Similar UV operator
The Select Similar UV operator defined multiple enum item arrays, and
returned one depending on current mode in the enum function
uv_select_similar_type_itemf().

The operator prop's enum items used only the vertex items, which
resulted in several items never being extracted because they were
dynamically generated instead of exposed to the RNA.

This commit groups all items in a single array so that they are
exposed, but uses the enum function to filter them.

Issue reported by Satoshi Yamasaki (@SatoshiYamasaki) in #43295.
2023-06-15 00:28:39 +02:00