diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-24 18:15:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-24 18:40:15 +0300 |
commit | 154ff1afdef97947190f5de9225284b9d9f556fd (patch) | |
tree | 5801279c9dd3aa2457b82b19930cada67079dfd6 /source/blender/draw/intern/draw_cache_impl_mesh.c | |
parent | f2cc6c9254be5fe093e112f3b6e2192b392a1843 (diff) |
Fix/Workaround T51561: Disable split normals
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index eaf159b5785..06738b87a0b 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -493,9 +493,12 @@ static MeshRenderData *mesh_render_data_create(Mesh *me, const int types) } else { #undef me + /* XXX. this should work, check on this when we add split normals, see: T51561. */ +#if 0 if (!CustomData_has_layer(cd_ldata, CD_NORMAL)) { BKE_mesh_calc_normals_split(me); } +#endif bool calc_active_tangent = false; const float (*poly_normals)[3] = rdata->poly_normals; |