diff options
author | romulox_x <romulox_x@yahoo.com> | 2015-06-25 15:41:12 -0700 |
---|---|---|
committer | romulox_x <romulox_x@yahoo.com> | 2015-06-25 15:41:12 -0700 |
commit | acb5cdb5744711beefc7d353aa51cb1d6b148c6a (patch) | |
tree | 74dc43652002883f15b0be3cc0b255714d7357b3 /drivers/png/resource_saver_png.cpp | |
parent | 85e49d4e75eea3f32253704d41621b83409b7898 (diff) |
forgot to add mirroredrepeat flag to flags file. fixed.
Diffstat (limited to 'drivers/png/resource_saver_png.cpp')
-rw-r--r-- | drivers/png/resource_saver_png.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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")) { |