From b2412c72a01d2454408d77c79a598f67ba4a5783 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 21 Feb 2018 09:40:01 -0300 Subject: [PATCH] Was missing clearing computed UVs, sorry, realized late. --- editor/plugins/sprite_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/sprite_editor_plugin.cpp b/editor/plugins/sprite_editor_plugin.cpp index 77ad89a22b9..99aabcb3ebf 100644 --- a/editor/plugins/sprite_editor_plugin.cpp +++ b/editor/plugins/sprite_editor_plugin.cpp @@ -130,6 +130,7 @@ void SpriteEditor::_update_mesh_data() { uv_lines.clear(); computed_vertices.clear(); + computed_uv.clear(); computed_indices.clear(); Size2 img_size = Vector2(image->get_width(), image->get_height());