Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / mesh_evaluate.c
index f25b6ed41c78d89f1a7e6d592c5094d283eedf95..4e03155ea6c92cd8b2bbe15c57d4add7fb0995a3 100644 (file)
@@ -287,12 +287,11 @@ void BKE_mesh_calc_normals_poly(
         int numLoops, int numPolys, float (*r_polynors)[3],
         const bool only_face_normals)
 {
-       const bool do_threaded = (numPolys > BKE_MESH_OMP_LIMIT);
        float (*pnors)[3] = r_polynors;
 
        ParallelRangeSettings settings;
        BLI_parallel_range_settings_defaults(&settings);
-       settings.use_threading = do_threaded;
+       settings.min_iter_per_thread = 1024;
 
        if (only_face_normals) {
                BLI_assert((pnors != NULL) || (numPolys == 0));