From bf96400558db9e8e79a00a73eba99a1ca008231f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Thu, 6 Nov 2014 14:05:32 +0100 Subject: Use a fixed, uniform cell size for hair continuum grids. This is a bit more awkward for artists to use, but necessary for a stable solution of the hair continuum calculation. The grid size is defined by the user, the extent of the grid is then calculated based on the hair geometry. A hard upper limit prevents bad memory allocation in case too small values are entered. Conflicts: source/blender/physics/intern/BPH_mass_spring.cpp --- release/scripts/startup/bl_ui/properties_particle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 614a64867c9..690a9d1d8bd 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -329,7 +329,7 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel): # XXX disabled due to stability issues #sub.prop(cloth, "pressure", slider=True, text="Pressure") #sub.prop(cloth, "pressure_threshold", slider=True, text="Threshold") - col.prop(cloth, "voxel_resolution") + col.prop(cloth, "voxel_cell_size") split.separator() -- cgit v1.2.3