Przeglądaj źródła

Was missing clearing computed UVs, sorry, realized late.

Juan Linietsky 7 lat temu
rodzic
commit
b2412c72a0
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      editor/plugins/sprite_editor_plugin.cpp

+ 1 - 0
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());