Sculpt: Change default damping for cloth deform target
This commit is contained in:
parent
c0f19d6082
commit
9453b45e20
|
@ -6122,7 +6122,7 @@ static void do_brush_action(Sculpt *sd, Object *ob, Brush *brush, UnifiedPaintSe
|
|||
if (brush->deform_target == BRUSH_DEFORM_TARGET_CLOTH_SIM) {
|
||||
if (!ss->cache->cloth_sim) {
|
||||
ss->cache->cloth_sim = SCULPT_cloth_brush_simulation_create(
|
||||
ss, 1.0f, 0.0f, 0.0f, false, true);
|
||||
ss, 1.0f, 1.0f, 0.0f, false, true);
|
||||
SCULPT_cloth_brush_simulation_init(ss, ss->cache->cloth_sim);
|
||||
}
|
||||
SCULPT_cloth_brush_store_simulation_state(ss, ss->cache->cloth_sim);
|
||||
|
|
|
@ -195,7 +195,7 @@ static float cloth_brush_simulation_falloff_get(const Brush *brush,
|
|||
#define CLOTH_MAX_CONSTRAINTS_PER_VERTEX 1024
|
||||
#define CLOTH_SIMULATION_TIME_STEP 0.01f
|
||||
#define CLOTH_DEFORMATION_SNAKEHOOK_STRENGTH 0.35f
|
||||
#define CLOTH_DEFORMATION_TARGET_STRENGTH 0.01f
|
||||
#define CLOTH_DEFORMATION_TARGET_STRENGTH 0.5f
|
||||
#define CLOTH_DEFORMATION_GRAB_STRENGTH 0.1f
|
||||
|
||||
static bool cloth_brush_sim_has_length_constraint(SculptClothSimulation *cloth_sim,
|
||||
|
|
Loading…
Reference in New Issue