Use ={} for init_all_vertices Vertex_active

This commit is contained in:
Kp 2016-03-05 17:26:24 +00:00
parent 97219697a7
commit 06ed8865b7

View file

@ -1487,8 +1487,7 @@ void med_create_new_segment_from_cursegp(void)
// Initialize all vertices to inactive status.
void init_all_vertices(void)
{
range_for (auto &v, Vertex_active)
v = 0;
Vertex_active = {};
range_for (auto &s, Segments)
s.segnum = segment_none;
}