]> OCCT Git - occt-copy.git/commit
0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located...
authornds <nds@opencascade.com>
Thu, 28 Feb 2019 06:55:53 +0000 (09:55 +0300)
committernds <nds@opencascade.com>
Mon, 4 Mar 2019 06:37:14 +0000 (09:37 +0300)
commit571edcafe303a18cc54c42e9b425003ecb7372f0
tree2a761051e8ee5a9756f54cdffb6fffcb75651453
parentd28082df361931ca10ff62ff9474669e13718cf1
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.

(cherry picked from commit 967d2f4f301c079f3cbe689d88dad155bae2dada)
src/BRepMesh/BRepMesh_ShapeVisitor.cxx
src/IMeshTools/IMeshTools_ShapeExplorer.cxx
tests/bugs/mesh/bug25364
tests/bugs/moddata_3/bug30497 [new file with mode: 0644]