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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-12 16:40:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-12 16:40:29 +0300
commit70942f9a8321e27d5c7dc2036301989364f9a5aa (patch)
tree8d62610aad63da64fd0e3b74b1373f2234ec3c33 /source/blender/makesrna/intern/rna_particle.c
parentf1a542b6b80b8a7dcce0484dd4146d2ede72831d (diff)
last commit was no good since pe_get_current was running recalc_emitter_field on mousemove and poll() functions.
run on entering particle editmode only.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 543965a337e..344ba7ef064 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -658,7 +658,8 @@ static void rna_def_particle_hair_key(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Time", "Relative time of key over hair length.");
prop= RNA_def_property(srna, "weight", PROP_FLOAT, PROP_UNSIGNED);
- RNA_def_property_ui_text(prop, "Weight", "Weight for softbody simulation.");
+ RNA_def_property_range(prop, 0.0, 1.0);
+ RNA_def_property_ui_text(prop, "Weight", "Weight for cloth simulation.");
}
static void rna_def_particle_key(BlenderRNA *brna)