]> OCCT Git - occt-copy.git/commit
0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located...
authornds <nds@opencascade.com>
Thu, 7 Mar 2019 13:18:59 +0000 (16:18 +0300)
committernds <nds@opencascade.com>
Fri, 17 May 2019 12:59:23 +0000 (15:59 +0300)
commitfd6003fb87a7a5d8c5030f65ac0c5f383b85807e
tree7ef4795373efa9d1a000a6e7628e2e4f46e53a19
parentbc09b9e3dac0d5ff314fb715ec7daf0063e430b9
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)
(cherry picked from commit 3d9cd0b2f2f8dfb1242de19cb0d04399eebd66b9)
src/BRepMesh/BRepMesh_ShapeVisitor.cxx
src/IMeshTools/IMeshTools_ShapeExplorer.cxx
tests/bugs/mesh/bug25364
tests/bugs/moddata_3/bug30497