Fix CurveTexture being listed as saveable to .png

Fixes #27880
This commit is contained in:
Bojidar Marinov 2019-07-16 21:19:53 +03:00
parent 22c843b0c4
commit 65bb76ab35
No known key found for this signature in database
GPG key ID: 4D546A8F1E091856

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");
}
}