Added separate damping for bending springs.

The bend damping factor was hardcoded to the same value as the stiffness.
Now it has its own factor in the settings and button in hair dynamics.
This commit is contained in:
2014-09-26 17:25:21 +02:00
parent e694b7c04b
commit 48e67c49a5
6 changed files with 40 additions and 3 deletions

View File

@@ -330,6 +330,7 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
sub = col.column(align=True)
sub.prop(cloth, "spring_damping", text="Spring")
sub.prop(cloth, "air_damping", text="Air")
sub.prop(cloth, "bending_damping", text="Bending")
col.label(text="Quality:")
col.prop(cloth, "quality", text="Steps", slider=True)