From acb5cdb5744711beefc7d353aa51cb1d6b148c6a Mon Sep 17 00:00:00 2001 From: romulox_x Date: Thu, 25 Jun 2015 15:41:12 -0700 Subject: forgot to add mirroredrepeat flag to flags file. fixed. --- drivers/png/resource_saver_png.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/png') diff --git a/drivers/png/resource_saver_png.cpp b/drivers/png/resource_saver_png.cpp index 8524aa2121..76e0c03c46 100644 --- a/drivers/png/resource_saver_png.cpp +++ b/drivers/png/resource_saver_png.cpp @@ -75,6 +75,9 @@ Error ResourceSaverPNG::save(const String &p_path,const RES& p_resource,uint32_t if (bool(texture->get_flags()&Texture::FLAG_CONVERT_TO_LINEAR)) { text+="tolinear=true\n"; } + if (bool(texture->get_flags()&Texture::FLAG_MIRRORED_REPEAT)) { + text+="mirroredrepeat=true\n"; + } if (text!="" || FileAccess::exists(p_path+".flags")) { -- cgit v1.2.3