From 65bb76ab35e6f7c6e1f5b3361ff2046bf371f86b Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Tue, 16 Jul 2019 21:19:53 +0300 Subject: Fix CurveTexture being listed as saveable to .png Fixes #27880 --- drivers/png/resource_saver_png.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/png') diff --git a/drivers/png/resource_saver_png.cpp b/drivers/png/resource_saver_png.cpp index 89e8ee32cc..43a30f055b 100644 --- a/drivers/png/resource_saver_png.cpp +++ b/drivers/png/resource_saver_png.cpp @@ -79,7 +79,7 @@ bool ResourceSaverPNG::recognize(const RES &p_resource) const { void ResourceSaverPNG::get_recognized_extensions(const RES &p_resource, List *p_extensions) const { - if (Object::cast_to(*p_resource)) { + if (Object::cast_to(*p_resource)) { p_extensions->push_back("png"); } } -- cgit v1.2.3