forgot to add mirroredrepeat flag to flags file. fixed.

This commit is contained in:
romulox_x
2015-06-25 15:41:12 -07:00
parent 85e49d4e75
commit acb5cdb574
3 changed files with 9 additions and 1 deletions

View File

@ -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")) {