From 283f0ae9afe7ceceb0ad21010a8cc9006838f2b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Mon, 1 Oct 2018 14:55:35 +0200 Subject: Edit UVs: Refactor drawing Shadow UV in Image Editor Currently it's not showing the subdivided mesh (if there is a subdiv mod) and there is some sync issue if there is multiple uv image space opened. But thoses will be tackled later on. The purpose of this commit is to fix the overflow issue of IMM and speed issue. --- source/blender/draw/intern/draw_cache_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/draw/intern/draw_cache_impl.h') diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index 9ce994adbc0..1aaedd39c85 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -167,6 +167,8 @@ enum { UVEDIT_SYNC_SEL = (1 << 6), }; +/* For Image UV editor. */ +struct GPUBatch *DRW_mesh_batch_cache_get_texpaint_loop_wire(struct Mesh *me); void DRW_mesh_cache_uvedit( struct Object *me, struct SpaceImage *sima, struct Scene *scene, uchar state, struct GPUBatch **faces, struct GPUBatch **edges, struct GPUBatch **verts, struct GPUBatch **facedots); -- cgit v1.2.3