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:
authorScott Petrovic <scottpetrovic@gmail.com>2013-12-13 20:03:44 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2013-12-13 20:06:14 +0400
commit105a97a7ed5bc28f8bf2037ee9532b6daece6b7d (patch)
treee7b49881d0b72129ca8e8fced8e159d5f3093c96 /source/blender/makesrna/intern/rna_particle.c
parentc456cd94b23af53b53ac13219ea488ed6e7eb5c2 (diff)
UI/RNA: added pixel and percentage units to some properties
Reviewed By: brecht Differential Revision: http://developer.blender.org/D99
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-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 174e3dfdb01..2d173ec4581 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -2398,7 +2398,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
RNA_def_property_range(prop, 0, 50);
RNA_def_property_ui_text(prop, "Pixel", "How many pixels path has to cover to make another render segment");
- prop = RNA_def_property(srna, "draw_percentage", PROP_INT, PROP_NONE);
+ prop = RNA_def_property(srna, "draw_percentage", PROP_INT, PROP_PERCENTAGE);
RNA_def_property_int_sdna(prop, NULL, "disp");
RNA_def_property_range(prop, 0, 100);
RNA_def_property_ui_text(prop, "Display", "Percentage of particles to display in 3D view");