Cleanup: RNA boolean names (use prefix conventions)
[blender.git] / source / blender / makesrna / intern / rna_speaker.c
index 66cc9919f957e2dc9f8a9b85cd0a7514e831d882..c01ac95dc14d3d7b45618b2a2e53fc2eadf16aec 100644 (file)
@@ -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");