Merge pull request #35886 from doot24/fix_#35871

Fixed Godot not recognising 150x150 icon for uwp export #35871
This commit is contained in:
Rémi Verschelde 2020-02-06 10:31:31 +01:00 committed by GitHub
commit 17ce184921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1176,7 +1176,7 @@ public:
err += TTR("Invalid square 71x71 logo image dimensions (should be 71x71).") + "\n"; err += TTR("Invalid square 71x71 logo image dimensions (should be 71x71).") + "\n";
} }
if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to<StreamTexture>((Object *)p_preset->get("images/square150x150_logo"))), 150, 0)) { if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to<StreamTexture>((Object *)p_preset->get("images/square150x150_logo"))), 150, 150)) {
valid = false; valid = false;
err += TTR("Invalid square 150x150 logo image dimensions (should be 150x150).") + "\n"; err += TTR("Invalid square 150x150 logo image dimensions (should be 150x150).") + "\n";
} }