1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Add tooltip plugin for AudioStream

This commit is contained in:
kobewi
2023-05-12 22:39:05 +02:00
parent 4728ff30c0
commit 1fce8d8a91
4 changed files with 39 additions and 2 deletions

View File

@@ -678,6 +678,8 @@ Ref<Texture2D> EditorAudioStreamPreviewPlugin::generate(const Ref<Resource> &p_f
}
}
p_metadata["length"] = stream->get_length();
//post_process_preview(img);
Ref<Image> image = Image::create_from_data(w, h, false, Image::FORMAT_RGB8, img);