diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2012-10-04 22:21:34 +0400 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2012-10-04 22:21:34 +0400 |
commit | ab2a9de4b485362725660db840cba40837114c89 (patch) | |
tree | 1596b099fc697d82da510578f0e86cc3de3490f0 /source/blender/makesrna/intern/rna_boid.c | |
parent | e77004157e483c610a6478b733a42554ab21c365 (diff) |
Add translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip for custom properties
Tracked in [#31062] [2.6x] Context Ambiguity List & Discussion (keep updating)
Diffstat (limited to 'source/blender/makesrna/intern/rna_boid.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_boid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_boid.c b/source/blender/makesrna/intern/rna_boid.c index 2a6ea2994fa..94ab4497e54 100644 --- a/source/blender/makesrna/intern/rna_boid.c +++ b/source/blender/makesrna/intern/rna_boid.c @@ -521,6 +521,7 @@ static void rna_def_boid_settings(BlenderRNA *brna) RNA_def_property_float_sdna(prop, NULL, "pitch"); RNA_def_property_range(prop, 0.0, 2.0); RNA_def_property_ui_text(prop, "Pitch", "Amount of rotation around side vector"); + RNA_def_property_translation_context(prop, "Rotation"); RNA_def_property_update(prop, 0, "rna_Boids_reset"); prop = RNA_def_property(srna, "height", PROP_FLOAT, PROP_NONE); |