diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-04 22:53:17 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-04 22:53:17 +0400 |
commit | 592f80625bec2d31b22e3e309df9bb693eb967f3 (patch) | |
tree | 4721aecac72b53627495e20c3d30f1110a39e758 /source/blender/makesrna/intern/rna_boid.c | |
parent | 63840fd5058293e7bc9f16cea16507a410748b50 (diff) |
Fix for commit r51049: no need to create two contexts when one if enough.
Also please define and use constants in BLF_translation.h rather than directly typing contexts' names, it's safer (typo would break at compile time, instead of generating more contexts!).
Diffstat (limited to 'source/blender/makesrna/intern/rna_boid.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_boid.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_boid.c b/source/blender/makesrna/intern/rna_boid.c index 94ab4497e54..2a6ea2994fa 100644 --- a/source/blender/makesrna/intern/rna_boid.c +++ b/source/blender/makesrna/intern/rna_boid.c @@ -521,7 +521,6 @@ 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); |