Fix: Hair Length was using wrong unit

This commit is contained in:
William Reynish 2019-05-29 12:12:52 +02:00
parent fdd2917144
commit e15bba38d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);