Fix T49245: Adaptive Subdivision with Auto Smooth causes weird mesh appearance

This commit is contained in:
Mai Lavelle 2016-09-18 13:21:29 -04:00 committed by Sergey Sharybin
parent 8e6aaa08c2
commit 750650c737
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ static void create_mesh(Scene *scene,
int numtris = 0;
int numcorners = 0;
int numngons = 0;
bool use_loop_normals = b_mesh.use_auto_smooth();
bool use_loop_normals = b_mesh.use_auto_smooth() && (mesh->subdivision_type != Mesh::SUBDIVISION_CATMULL_CLARK);
BL::Mesh::vertices_iterator v;
BL::Mesh::tessfaces_iterator f;