feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -245,7 +245,7 @@ Ref<Image> CompressedTexture2D::get_image() const {
|
|||
}
|
||||
|
||||
bool CompressedTexture2D::is_pixel_opaque(int p_x, int p_y) const {
|
||||
if (!alpha_cache.is_valid()) {
|
||||
if (alpha_cache.is_null()) {
|
||||
Ref<Image> img = get_image();
|
||||
if (img.is_valid()) {
|
||||
if (img->is_compressed()) { //must decompress, if compressed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue