You've already forked godot
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user