Minor debug code fix.

Conflicts:
	source/blender/physics/intern/BPH_mass_spring.cpp
This commit is contained in:
Lukas Tönne 2014-11-06 14:57:31 +01:00
parent bf96400558
commit 46db288832

@ -817,7 +817,7 @@ static void cloth_continuum_step(ClothModifierData *clmd)
madd_v3_v3fl(x, b, (float)j / (float)(size-1)); madd_v3_v3fl(x, b, (float)j / (float)(size-1));
zero_v3(v); zero_v3(v);
BPH_hair_volume_grid_interpolate(vertex_grid, x, &gdensity, gvel, NULL, NULL); BPH_hair_volume_grid_interpolate(grid, x, &gdensity, gvel, NULL, NULL);
// BKE_sim_debug_data_add_circle(clmd->debug_data, x, gdensity, 0.7, 0.3, 1, "grid density", hash_int_2d(hash_int_2d(i, j), 3111)); // BKE_sim_debug_data_add_circle(clmd->debug_data, x, gdensity, 0.7, 0.3, 1, "grid density", hash_int_2d(hash_int_2d(i, j), 3111));
if (!is_zero_v3(gvel)) if (!is_zero_v3(gvel))