diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-11 09:49:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-11 09:49:35 +0300 |
commit | 42368a2321d52d33bf9f49616fd65bbc905840d1 (patch) | |
tree | 011c961841dffa7497f4d3792343cc61192dd999 /source/blender/makesrna/intern/rna_speaker.c | |
parent | 826d9ac827cc3890ca00bb9c46efed39c63dd324 (diff) |
Cleanup: RNA boolean names (use prefix conventions)
Diffstat (limited to 'source/blender/makesrna/intern/rna_speaker.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_speaker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_speaker.c b/source/blender/makesrna/intern/rna_speaker.c index 66cc9919f95..c01ac95dc14 100644 --- a/source/blender/makesrna/intern/rna_speaker.c +++ b/source/blender/makesrna/intern/rna_speaker.c @@ -57,7 +57,7 @@ static void rna_def_speaker(BlenderRNA *brna) RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_SOUND); /* RNA_def_property_update(prop, 0, "rna_Speaker_update"); */ - prop = RNA_def_property(srna, "relative", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_relative", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SPK_RELATIVE); RNA_def_property_clear_flag(prop, PROP_EDITABLE); RNA_def_property_ui_text(prop, "Relative", "Whether the source is relative to the camera or not"); |