Cleanup: remove unnecessary NULL test

This commit is contained in:
Brecht Van Lommel 2020-05-20 16:20:22 +02:00
parent e8209c36e6
commit ece8ecb4dd
1 changed files with 1 additions and 3 deletions

View File

@ -1798,9 +1798,7 @@ static void mesh_build_data(struct Depsgraph *depsgraph,
}
}
if (mesh_eval != NULL) {
mesh_runtime_check_normals_valid(mesh_eval);
}
mesh_runtime_check_normals_valid(mesh_eval);
mesh_build_extra_data(depsgraph, ob, mesh_eval);
}