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
path: root/tests
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2020-12-22 13:42:55 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-01-05 12:26:23 +0300
commitc0a8dd943f3de2b1c4bdb86790714946fd9c8976 (patch)
tree5aece29e8f0a4c3fa3654a556d5f8df77c97409e /tests
parentdc4014c6763e1e1fb21a5bbe3ec063166ad2ec80 (diff)
Fix T84018: bulk selection (box, circle, lasso) - unwarranted selection
of islands in vertex mode if "UV Sync Selection" is on Caused by rB72b422c1e101: UV: support select linked with sync-select in vert/edge modes If you had island selection mode enabled in the UV editor with UV Sync Selection off, and switch UV Sync Selection on, then in vertex selection mode all bulk selection ops (box, circle, lasso) will be selecting whole islands. Prior to culprit commit, for sync selection ON plus island selection ON, BM_uv_vert_map_create would always return a NULL vmap (it was called with `use_select` = True, no faces tagged selected). After said commit, for sync selection ON plus island selection ON, BM_uv_vert_map_create would return a valid vmap (it is now called with `use_select` = False, no faces tagged selected - but if `use_select` is False, all UVs will be added here). If I am not mistaken, it is never wanted to actually select islands with box/lasso/circle when sync selection is turned ON [after all you dont have the UI for it showing], so solution is now to check for this earlier and not even call uv_select_linked_multi in those cases. (Maybe in the future this can be unified and we dont need separate selection modes fo UV and 3D?) Maniphest Tasks: T84018 Differential Revision: https://developer.blender.org/D9917
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions