Merge pull request #70250 from Chaosus/fix_audio_stream_editor
This commit is contained in:
commit
62a5082760
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
||||||
#include "editor/audio_stream_preview.h"
|
#include "editor/audio_stream_preview.h"
|
||||||
#include "editor/editor_scale.h"
|
#include "editor/editor_scale.h"
|
||||||
#include "editor/editor_settings.h"
|
#include "editor/editor_settings.h"
|
||||||
|
#include "scene/resources/audio_stream_wav.h"
|
||||||
|
|
||||||
// AudioStreamEditor
|
// AudioStreamEditor
|
||||||
|
|
||||||
|
@ -258,7 +259,7 @@ AudioStreamEditor::AudioStreamEditor() {
|
||||||
// EditorInspectorPluginAudioStream
|
// EditorInspectorPluginAudioStream
|
||||||
|
|
||||||
bool EditorInspectorPluginAudioStream::can_handle(Object *p_object) {
|
bool EditorInspectorPluginAudioStream::can_handle(Object *p_object) {
|
||||||
return Object::cast_to<AudioStream>(p_object) != nullptr;
|
return Object::cast_to<AudioStreamWAV>(p_object) != nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorInspectorPluginAudioStream::parse_begin(Object *p_object) {
|
void EditorInspectorPluginAudioStream::parse_begin(Object *p_object) {
|
||||||
|
|
Loading…
Reference in a new issue