diff options
-rw-r--r-- | source/blender/makesdna/DNA_speaker_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_speaker.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_speaker_types.h b/source/blender/makesdna/DNA_speaker_types.h index b777404fd94..d3fc5ecb126 100644 --- a/source/blender/makesdna/DNA_speaker_types.h +++ b/source/blender/makesdna/DNA_speaker_types.h @@ -56,6 +56,6 @@ typedef struct Speaker { /* flag */ #define SPK_DS_EXPAND (1<<0) #define SPK_MUTED (1<<1) -#define SPK_RELATIVE (1<<2) +// #define SPK_RELATIVE (1<<2) /* UNUSED */ #endif /* __DNA_SPEAKER_TYPES_H__ */ diff --git a/source/blender/makesrna/intern/rna_speaker.c b/source/blender/makesrna/intern/rna_speaker.c index c01ac95dc14..34123570c68 100644 --- a/source/blender/makesrna/intern/rna_speaker.c +++ b/source/blender/makesrna/intern/rna_speaker.c @@ -57,12 +57,6 @@ 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, "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"); - /* RNA_def_property_update(prop, 0, "rna_Speaker_update"); */ - prop = RNA_def_property(srna, "sound", PROP_POINTER, PROP_NONE); RNA_def_property_struct_type(prop, "Sound"); RNA_def_property_flag(prop, PROP_EDITABLE); |