diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-01-27 16:17:53 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-01-27 18:07:17 +0300 |
commit | f83aa830cd00ad9b8656e2806620d80cb56b3172 (patch) | |
tree | 5d4d617cb454ff9560d79b6fbae1c4a8c50aafbc /source/blender/draw/engines/overlay/overlay_private.h | |
parent | 4fbeb3e6be3ed03e55ebd8a9d41c80c2a4f08815 (diff) |
Fix T83187: Unselected UVs shows selected on linked meshes.
When uv editing objects that share the same mesh only the selection
state can get confused. The cause is that the UV editor uses a
particular order of objects and store its state in the first object of a
mesh it hasn't handled. During drawing this state is updated into the
GPU buffers. In the case of linked meshes it can happen that the GPU
buffers are updated based on the object that does not have the correct
selection state making th selection VBOs incorrect.
This patch adds a work around that uses the order that the UV editor is
also using so the GPU buffers are built with the right data.
Diffstat (limited to 'source/blender/draw/engines/overlay/overlay_private.h')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_private.h b/source/blender/draw/engines/overlay/overlay_private.h index 3aee391c281..2975fe70796 100644 --- a/source/blender/draw/engines/overlay/overlay_private.h +++ b/source/blender/draw/engines/overlay/overlay_private.h @@ -555,7 +555,6 @@ void OVERLAY_edit_particle_draw(OVERLAY_Data *vedata); void OVERLAY_edit_uv_init(OVERLAY_Data *vedata); void OVERLAY_edit_uv_cache_init(OVERLAY_Data *vedata); -void OVERLAY_edit_uv_cache_populate(OVERLAY_Data *vedata, Object *ob); void OVERLAY_edit_uv_draw(OVERLAY_Data *vedata); void OVERLAY_extra_cache_init(OVERLAY_Data *vedata); |