summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2019-11-06 14:16:32 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-02-11 12:05:43 +0100
commit171691aad9fc61f8679f818f4ebeac31e29e41a6 (patch)
treed28d8c9055f797572e8ed26f0c64a4377b223340 /editor
parent7f430b03a70e70ba9f63c192beb2f31dd884f907 (diff)
[Vulkan] Add repeat flag to texture preview checkerboard background
Diffstat (limited to 'editor')
-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));
}