Displist: Reuse tesselated pos and nor for wireframes
authorClément Foucault <foucault.clem@gmail.com>
Fri, 14 Dec 2018 01:52:50 +0000 (02:52 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 14 Dec 2018 15:17:29 +0000 (16:17 +0100)
commit531e5ad49a037637c323ef79d872f3d182f589a6
treec6b0c5cd39f8c460261a268a1a14938fe9522f3a
parent18d056601303b96fcc934c639421e1fd59b36b63
Displist: Reuse tesselated pos and nor for wireframes

This lower the memory usage and also fix a bug with metaballs normals/tris
winding being reversed.
source/blender/draw/intern/draw_cache_impl_curve.c
source/blender/draw/intern/draw_cache_impl_displist.c
source/blender/draw/intern/draw_cache_impl_metaball.c