diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-08-28 16:27:29 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-08-28 16:27:29 +0400 |
commit | 6a8020b9c6693bdb14885914e8688847e2d11629 (patch) | |
tree | 65c3c899e8acb01ae79b111ce24baaee0f53ef9f /source/blender/editors/sound | |
parent | 3ac11df33bf47d98e1a945beaea99e9a98f716d2 (diff) |
First try in sound UI for the sequencer.
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r-- | source/blender/editors/sound/sound_intern.h | 2 | ||||
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/sound/sound_intern.h b/source/blender/editors/sound/sound_intern.h index b0d6abb3f00..eb793a0b661 100644 --- a/source/blender/editors/sound/sound_intern.h +++ b/source/blender/editors/sound/sound_intern.h @@ -33,7 +33,5 @@ struct wmOperatorType; void SOUND_OT_open(wmOperatorType *ot); -void sound_operatortype_init(void); - #endif /* ED_SOUND_INTERN_H */ diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 59bb9c5319c..a23a28423ef 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -38,6 +38,8 @@ #include "BKE_report.h" #include "BKE_sound.h" +#include "ED_sound.h" + #include "RNA_access.h" #include "RNA_define.h" @@ -84,7 +86,7 @@ static int open_invoke(bContext *C, wmOperator *op, wmEvent *event) void SOUND_OT_open(wmOperatorType *ot) { /* identifiers */ - ot->name= "Open"; + ot->name= "Open Sound"; ot->idname= "SOUND_OT_open"; ot->description= "Load a sound file into blender"; @@ -101,7 +103,7 @@ void SOUND_OT_open(wmOperatorType *ot) /* ******************************************************* */ -void sound_operatortype_init(void) +void ED_operatortypes_sound(void) { WM_operatortype_append(SOUND_OT_open); } |