summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-06 15:30:57 +0100
committerGitHub <noreply@github.com>2020-02-11 12:05:47 +0100
commitcc674a5cda35c1f70217ac62c312af791fe3464c (patch)
tree0ccaccd6c1a9d2565b22f7d884d261ae0ed4d66f
parentbb9b9b03c4915f21fe7c6e4339436aab6f0af7ea (diff)
parent171691aad9fc61f8679f818f4ebeac31e29e41a6 (diff)
Merge pull request #33386 from Chaosus/vk_fix_texture_preview
[Vulkan] Adds repeat flag to texture preview checkerboard background
-rw-r--r--editor/plugins/texture_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_editor_plugin.cpp b/editor/plugins/texture_editor_plugin.cpp
index 675ba55b34..60f9bb5dc1 100644
--- a/editor/plugins/texture_editor_plugin.cpp
+++ b/editor/plugins/texture_editor_plugin.cpp
@@ -132,6 +132,7 @@ void TextureEditor::_bind_methods() {
TextureEditor::TextureEditor() {
+ set_texture_repeat(TextureRepeat::TEXTURE_REPEAT_ENABLED);
set_custom_minimum_size(Size2(1, 150));
}