summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2018-02-21 09:40:01 -0300
committerJuan Linietsky <juan@godotengine.org>2018-02-21 09:40:01 -0300
commitb2412c72a01d2454408d77c79a598f67ba4a5783 (patch)
treeebea75137350a8e23b8f475e589172dff5bb61a7
parent9e3a1e5401f9f807085547de0ecc3f527610daa4 (diff)
Was missing clearing computed UVs, sorry, realized late.
-rw-r--r--editor/plugins/sprite_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/sprite_editor_plugin.cpp b/editor/plugins/sprite_editor_plugin.cpp
index 77ad89a22b..99aabcb3eb 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());