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. --- scene/io/resource_format_image.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scene/io/resource_format_image.cpp') diff --git a/scene/io/resource_format_image.cpp b/scene/io/resource_format_image.cpp index 2663ac0762..8527498fc2 100644 --- a/scene/io/resource_format_image.cpp +++ b/scene/io/resource_format_image.cpp @@ -180,6 +180,11 @@ RES ResourceFormatLoaderImage::load(const String &p_path,const String& p_origina if (flags_found["tolinear"]) flags|=Texture::FLAG_CONVERT_TO_LINEAR; } + + if (flags_found.has("mirroredrepeat")) { + if (flags_found["mirroredrepeat"]) + flags|=Texture::FLAG_MIRRORED_REPEAT; + } if (debug_load_times) begtime=OS::get_singleton()->get_ticks_usec(); -- cgit v1.2.3