Fix of slow place on face on complex models #7587
This commit is contained in:
parent
215e845c31
commit
b034402912
1 changed files with 2 additions and 1 deletions
|
@ -249,7 +249,8 @@ void GLGizmoFlatten::update_planes()
|
|||
}
|
||||
|
||||
if (discard) {
|
||||
m_planes.erase(m_planes.begin() + (polygon_id--));
|
||||
m_planes[polygon_id--] = std::move(m_planes.back());
|
||||
m_planes.pop_back();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue