mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
parent
22c843b0c4
commit
65bb76ab35
@ -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 {
|
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");
|
p_extensions->push_back("png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user