diff options
author | William Reynish <billrey@me.com> | 2019-03-18 23:32:02 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-03-18 23:32:02 +0300 |
commit | a764a3cd1c1d01f782213ceb42d57a3bbfe70150 (patch) | |
tree | 3212bf0a74ba84f23e387ff38d862827e2cf98ed | |
parent | 52e38fae4285edce6398e1507eb5c29ed894dc1f (diff) |
Units: Use PROP_DISTANCE for emitter_distance
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index b66363f45ae..395daa76db3 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -1064,7 +1064,7 @@ static void rna_def_particle_edit(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_DEFLECT_EMITTER); RNA_def_property_ui_text(prop, "Deflect Emitter", "Keep paths from intersecting the emitter"); - prop = RNA_def_property(srna, "emitter_distance", PROP_FLOAT, PROP_UNSIGNED); + prop = RNA_def_property(srna, "emitter_distance", PROP_FLOAT, PROP_DISTANCE); RNA_def_property_float_sdna(prop, NULL, "emitterdist"); RNA_def_property_ui_range(prop, 0.0f, 10.0f, 10, 3); RNA_def_property_ui_text(prop, "Emitter Distance", "Distance to keep particles away from the emitter"); |