]> 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>
Thu, 7 Mar 2019 13:18:59 +0000 (16:18 +0300)
commit3d9cd0b2f2f8dfb1242de19cb0d04399eebd66b9
treee558944d7fffb3bfa5339bd497c2735b9f66b046
parentaffbdf27821e1f1d6a59737bbd7911d408e4b1f5
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