From f7717b2e80907a974b472d0ee786f63b06efa40c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 21 Apr 2010 11:59:47 +0000 Subject: option to use curve point weights to influence particle effectors. --- source/blender/makesrna/intern/rna_object_force.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/makesrna/intern/rna_object_force.c') diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c index 4cd092972d1..ee5450551a8 100644 --- a/source/blender/makesrna/intern/rna_object_force.c +++ b/source/blender/makesrna/intern/rna_object_force.c @@ -1262,6 +1262,11 @@ static void rna_def_field(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", PFIELD_GUIDE_PATH_ADD); RNA_def_property_ui_text(prop, "Additive", "Based on distance/falloff it adds a portion of the entire path"); RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); + + prop= RNA_def_property(srna, "use_guide_path_weight", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", PFIELD_GUIDE_PATH_WEIGHT); + RNA_def_property_ui_text(prop, "Weights", "Use curve weights to influence the particle influence along the curve"); + RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); /* Clump Settings */ -- cgit v1.2.3