mirror of
https://github.com/godotengine/godot.git
synced 2025-01-11 20:41:38 +00:00
Clear internal vertex counter when redrawing polygons, closes #24862.
This commit is contained in:
parent
ca03d7e0d7
commit
96445cd90e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user