Clear internal vertex counter when redrawing polygons, closes #24862.

This commit is contained in:
Juan Linietsky 2019-01-15 15:43:55 -03:00
parent ca03d7e0d7
commit 96445cd90e
1 changed files with 1 additions and 0 deletions

View File

@ -482,6 +482,7 @@ void Polygon2DEditor::_uv_input(const Ref<InputEvent> &p_input) {
polygons_prev = node->get_polygons();
node->set_polygon(points_prev);
node->set_uv(points_prev);
node->set_internal_vertex_count(0);
uv_edit_draw->update();
} else {