Skip to content

Commit

Permalink
Clear internal vertex counter when redrawing polygons, closes #24862.
Browse files Browse the repository at this point in the history
  • Loading branch information
reduz committed Jan 15, 2019
1 parent ca03d7e commit 96445cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/plugins/polygon_2d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 96445cd

Please sign in to comment.