Fix crash displaying UV's
This commit is contained in:
parent
be7031bee3
commit
6e33729462
Notes:
blender-bot
2023-02-14 05:51:15 +01:00
Referenced by issue #64339, Crash in uv editor Relax and Pinch tools Referenced by issue #64329, Crash when switching to UVEditing or Texture Paint
|
@ -170,6 +170,7 @@ static void uvedit_get_batches(Object *ob,
|
|||
const bool draw_stretch = (sima->flag & SI_DRAW_STRETCH) != 0;
|
||||
const bool draw_faces = (sima->flag & SI_NO_DRAWFACES) == 0;
|
||||
|
||||
DRW_mesh_batch_cache_validate(ob->data);
|
||||
*edges = DRW_mesh_batch_cache_get_edituv_edges(ob->data);
|
||||
*verts = DRW_mesh_batch_cache_get_edituv_verts(ob->data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue