Merge pull request #30625 from bojidar-bg/27880-curvetexture-save-to-png

Fix CurveTexture being listed as saveable to .png
This commit is contained in:
Rémi Verschelde 2019-07-17 09:39:48 +02:00 committed by GitHub
commit fabed73005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ bool ResourceSaverPNG::recognize(const RES &p_resource) const {
void ResourceSaverPNG::get_recognized_extensions(const RES &p_resource, List<String> *p_extensions) const {
if (Object::cast_to<Texture>(*p_resource)) {
if (Object::cast_to<ImageTexture>(*p_resource)) {
p_extensions->push_back("png");
}
}