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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-01 15:39:11 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-01 15:39:11 +0400
commit0e02fef8b498a7a2905dc8b341f6bebfc3a1e167 (patch)
tree899dd2bb6cb06ed6ecdf24b14d0b7823ffbc0e75 /source/blender/makesrna/intern/rna_particle.c
parent41963d9e4e04e481aad99a9b24ddebd9a198b30d (diff)
2.5: Added first particle panel, and an RNA property to retrieve
the active particle system.
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 95c5c90b304..36a1992670a 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -838,10 +838,10 @@ static void rna_def_particle_settings(BlenderRNA *brna)
//float rt; TODO:find where rt is used - can't find it in UI
- prop= RNA_def_property(srna, "total_particles", PROP_INT, PROP_UNSIGNED);
+ prop= RNA_def_property(srna, "amount", PROP_INT, PROP_UNSIGNED);
RNA_def_property_int_sdna(prop, NULL, "totpart");
RNA_def_property_range(prop, 0, 100000);
- RNA_def_property_ui_text(prop, "Particle Amount", "The total number of particles.");
+ RNA_def_property_ui_text(prop, "Amount", "Total number of particles.");
prop= RNA_def_property(srna, "userjit", PROP_INT, PROP_UNSIGNED);//TODO: can we get a better name for userjit?
RNA_def_property_int_sdna(prop, NULL, "userjit");