diff options
author | William Reynish <billrey@me.com> | 2019-02-20 02:15:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-20 02:18:24 +0300 |
commit | 855b3e68ef272f6ddb3b496cf8e6d074733e99d4 (patch) | |
tree | fd1bccfd53ae60f10e776cf6346792255b385911 /source/blender/makesrna/intern/rna_dynamicpaint.c | |
parent | 079099e8db65963393b75d2ae1705932819813e9 (diff) |
RNA: use factor when appropriate
- Many factor properties were set to PROP_NONE,
even properties that had 'Factor' in the name!
- Some time properties were not set to PROP_TIME,
especially in Particles.
- Changed motion_blur_shutter to use a soft max value of 1 instead of 2.
Anything > 1 here is not physically correct
and makes no real logical sense.
- Changed display name of Dynamic Paint dissolve_speed to Dissolve Time,
since it's a time property, not speed.
Diffstat (limited to 'source/blender/makesrna/intern/rna_dynamicpaint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_dynamicpaint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_dynamicpaint.c b/source/blender/makesrna/intern/rna_dynamicpaint.c index 6c12890bb9c..d7b58896675 100644 --- a/source/blender/makesrna/intern/rna_dynamicpaint.c +++ b/source/blender/makesrna/intern/rna_dynamicpaint.c @@ -438,20 +438,20 @@ static void rna_def_canvas_surface(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DPAINT_DISSOLVE); RNA_def_property_ui_text(prop, "Dissolve", "Enable to make surface changes disappear over time"); - prop = RNA_def_property(srna, "dissolve_speed", PROP_INT, PROP_NONE); + prop = RNA_def_property(srna, "dissolve_speed", PROP_INT, PROP_TIME); RNA_def_property_int_sdna(prop, NULL, "diss_speed"); RNA_def_property_range(prop, 1.0, 10000.0); RNA_def_property_ui_range(prop, 1.0, 10000.0, 5, -1); - RNA_def_property_ui_text(prop, "Dissolve Speed", "Approximately in how many frames should dissolve happen"); + RNA_def_property_ui_text(prop, "Dissolve Time", "Approximately in how many frames should dissolve happen"); prop = RNA_def_property(srna, "use_drying", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flags", MOD_DPAINT_USE_DRYING); RNA_def_property_ui_text(prop, "Dry", "Enable to make surface wetness dry over time"); - prop = RNA_def_property(srna, "dry_speed", PROP_INT, PROP_NONE); + prop = RNA_def_property(srna, "dry_speed", PROP_INT, PROP_TIME); RNA_def_property_range(prop, 1.0, 10000.0); RNA_def_property_ui_range(prop, 1.0, 10000.0, 5, -1); - RNA_def_property_ui_text(prop, "Dry Speed", "Approximately in how many frames should drying happen"); + RNA_def_property_ui_text(prop, "Dry Time", "Approximately in how many frames should drying happen"); /* * Simulation settings |