diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2019-11-21 14:28:39 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2019-11-21 14:31:40 +0300 |
commit | d98d4fce93f4b7ae2f4c48d70a3e5f4b324ac1ba (patch) | |
tree | 0dcf3c7159a42c6abd0c8d2b5d3db265116a6fdd /source/blender/makesrna/intern/rna_cloth.c | |
parent | f1518d0f28fec4355d4c1e9a8d7dc22e9031be1c (diff) |
Fix T62631: Cloth vertex mass capped to a very low number on scaled scenes.
Removed the weight limit and made the setting more clear in what it actually does.
IE, it controlls the weight of the vertices of the cloth mesh
Reviewed By: Brecht
Differential Revision: http://developer.blender.org/D5450
Diffstat (limited to 'source/blender/makesrna/intern/rna_cloth.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_cloth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_cloth.c b/source/blender/makesrna/intern/rna_cloth.c index 036aeebda52..e1a06a76235 100644 --- a/source/blender/makesrna/intern/rna_cloth.c +++ b/source/blender/makesrna/intern/rna_cloth.c @@ -533,8 +533,8 @@ static void rna_def_cloth_sim_settings(BlenderRNA *brna) /* mass */ prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_UNIT_MASS); - RNA_def_property_range(prop, 0.0f, 10.0f); - RNA_def_property_ui_text(prop, "Mass", "Mass of cloth material"); + RNA_def_property_range(prop, 0.0f, FLT_MAX); + RNA_def_property_ui_text(prop, "Vertex Mass", "The mass of each vertex on the cloth material"); RNA_def_property_update(prop, 0, "rna_cloth_update"); prop = RNA_def_property(srna, "vertex_group_mass", PROP_STRING, PROP_NONE); |