Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-05-29 13:12:52 +0300
committerWilliam Reynish <billrey@me.com>2019-05-29 13:12:52 +0300
commite15bba38d5bba66a35d144abee1a0b14ba042484 (patch)
tree6cd7620a7deacdfb07d80d0ce5f06e0170e69c86 /source/blender
parentfdd2917144cabf0edd8977aefe40c90333ca5579 (diff)
Fix: Hair Length was using wrong unit
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index a3178e0407f..dff7421ed74 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2905,7 +2905,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
prop, "Random Phase", "Randomize rotation around the chosen orientation axis");
RNA_def_property_update(prop, 0, "rna_Particle_reset");
- prop = RNA_def_property(srna, "hair_length", PROP_FLOAT, PROP_NONE);
+ prop = RNA_def_property(srna, "hair_length", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_funcs(
prop, "rna_PartSetting_hairlength_get", "rna_PartSetting_hairlength_set", NULL);
RNA_def_property_range(prop, 0.0f, 1000.0f);