occt: master 967d2f4f

Author Committer Branch Timestamp Parent
nds apn master 2019-02-28 06:55:53 master 4ec8ee66
Affected Issues  0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located shape
Changeset 0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located shape

The previous code has a condition to avoid processing the same faces if the face has a location.
The similar condition should be applied during the edges processing.
If not doing this, in the previous implementation, IMeshData_Edge instances are created for all edges(even located), but edges of faces located are not filled with curves.
As a result we had wrong local selection of edges.

Limit addition of edges to data model by ones with unique TShape and location using edges map already available in BRepMesh_ShapeVisitor.
mod - src/BRepMesh/BRepMesh_ShapeVisitor.cxx Diff File
mod - src/IMeshTools/IMeshTools_ShapeExplorer.cxx Diff File
mod - tests/bugs/mesh/bug25364 Diff File
add - tests/bugs/moddata_3/bug30497 Diff File