Merge branch 'master' into blender2.8
[blender.git] / source / blender / modifiers / intern / MOD_laplaciandeform.c
index 113c2cea33e843c1ae4d4335cacc423748f2c942..5439f77aede82a8d58294ad908935e384eb85e2a 100644 (file)
@@ -340,7 +340,6 @@ static void rotateDifferentialCoordinates(LaplacianSystem *sys)
                pi[1] = EIG_linear_solver_variable_get(sys->context, 1, i);
                pi[2] = EIG_linear_solver_variable_get(sys->context, 2, i);
                zero_v3(ni);
-               num_fni = 0;
                num_fni = sys->ringf_map[i].count;
                for (fi = 0; fi < num_fni; fi++) {
                        const unsigned int *vin;