[Bf-blender-cvs] [02ad256f9aa] master: Fix T70414 EEVEE: Crash with 2 viewports, UV edit and sync selection

Clément Foucault noreply at git.blender.org
Wed Oct 2 16:32:45 CEST 2019


Commit: 02ad256f9aaf032bcac93b5c4c60ef7a9003a8bf
Author: Clément Foucault
Date:   Wed Oct 2 16:38:01 2019 +0200
Branches: master
https://developer.blender.org/rB02ad256f9aaf032bcac93b5c4c60ef7a9003a8bf

Fix T70414 EEVEE: Crash with 2 viewports, UV edit and sync selection

===================================================================

M	source/blender/draw/intern/draw_cache_impl_mesh.c

===================================================================

diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c
index 4a69aa3e008..48dd23fd530 100644
--- a/source/blender/draw/intern/draw_cache_impl_mesh.c
+++ b/source/blender/draw/intern/draw_cache_impl_mesh.c
@@ -1108,9 +1108,6 @@ void DRW_mesh_batch_cache_create_requested(
         FOREACH_MESH_BUFFER_CACHE(cache, mbuffercache)
         {
           GPU_VERTBUF_DISCARD_SAFE(mbuffercache->vbo.edituv_data);
-          GPU_VERTBUF_DISCARD_SAFE(mbuffercache->vbo.stretch_angle);
-          GPU_VERTBUF_DISCARD_SAFE(mbuffercache->vbo.stretch_area);
-          GPU_VERTBUF_DISCARD_SAFE(mbuffercache->vbo.uv);
           GPU_VERTBUF_DISCARD_SAFE(mbuffercache->vbo.fdots_uv);
           GPU_INDEXBUF_DISCARD_SAFE(mbuffercache->ibo.edituv_tris);
           GPU_INDEXBUF_DISCARD_SAFE(mbuffercache->ibo.edituv_lines);



More information about the Bf-blender-cvs mailing list