Changed ImageTexture image cache type to the correct one, fixes #24971

The original attempt to fix the issue was accidentally using the wrong
type for the image cache. This change fixes that.
This commit is contained in:
Daniel Rakos 2019-01-26 09:12:38 +01:00
parent 6e600706e9
commit 5fcb03f6b6

View file

@ -111,7 +111,7 @@ private:
Size2 size_override;
float lossy_storage_quality;
mutable Ref<BitMap> alpha_cache;
Ref<ImageTexture> image_cache;
Ref<Image> image_cache;
protected:
virtual void reload_from_file();