diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-12 13:37:48 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-12 13:38:03 +0300 |
commit | e8d02359cf0853d32722ead7513bd6d28318c92d (patch) | |
tree | d07457c69b14e109ed96e266e4efd063697ffb83 /source/blender/makesrna/intern/rna_modifier.c | |
parent | fc5c5f0636bf03539d972293bd07b428b71877a9 (diff) |
Volumes: reduce step and default of strength in Volume Displace modifier
The strength has a high impact on performance. With the previous
step and default one could easily and accidentally make Blender unusably
slow, because of a too high displacement strength.
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_modifier.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c index 5a03c2c236a..0010e473924 100644 --- a/source/blender/makesrna/intern/rna_modifier.c +++ b/source/blender/makesrna/intern/rna_modifier.c @@ -7096,6 +7096,7 @@ static void rna_def_modifier_volume_displace(BlenderRNA *brna) prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE); RNA_def_property_ui_text(prop, "Strength", "Strength of the displacement"); + RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 0.1, 4); RNA_def_property_update(prop, 0, "rna_Modifier_update"); prop = RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE); |