You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix TexturePreview crashing
This commit is contained in:
@@ -41,6 +41,12 @@ class TexturePreview : public MarginContainer {
|
||||
private:
|
||||
TextureRect *texture_display;
|
||||
|
||||
TextureRect *checkerboard;
|
||||
Label *metadata_label;
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
|
||||
public:
|
||||
TextureRect *get_texture_display();
|
||||
TexturePreview(Ref<Texture> p_texture, bool p_show_metadata);
|
||||
|
||||
Reference in New Issue
Block a user