diff options
| author | Juan Linietsky | 2015-05-01 12:16:51 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-05-01 12:16:51 -0300 |
| commit | c45ffc2ca9f3b96f1eb04093cf75837da8e6ee4d (patch) | |
| tree | 00f49977af73967aed99c1d14e21761ab19e217a /scene/gui/texture_frame.cpp | |
| parent | bf53b7789a3de5d7f7e82b30c87b59544b900c1f (diff) | |
| download | godot-c45ffc2ca9f3b96f1eb04093cf75837da8e6ee4d.tar.gz godot-c45ffc2ca9f3b96f1eb04093cf75837da8e6ee4d.tar.zst godot-c45ffc2ca9f3b96f1eb04093cf75837da8e6ee4d.zip | |
Diffstat (limited to 'scene/gui/texture_frame.cpp')
| -rw-r--r-- | scene/gui/texture_frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/texture_frame.cpp b/scene/gui/texture_frame.cpp index 73081f9d5..931fb1cb1 100644 --- a/scene/gui/texture_frame.cpp +++ b/scene/gui/texture_frame.cpp @@ -88,8 +88,8 @@ void TextureFrame::set_texture(const Ref<Texture>& p_tex) { texture=p_tex; update(); - if (texture.is_valid()) - texture->set_flags(texture->get_flags()&(~Texture::FLAG_REPEAT)); //remove repeat from texture, it looks bad in sprites + //if (texture.is_valid()) + // texture->set_flags(texture->get_flags()&(~Texture::FLAG_REPEAT)); //remove repeat from texture, it looks bad in sprites minimum_size_changed(); } |
