]> OCCT Git - occt-copy.git/commit
0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located...
authornds <nds@opencascade.com>
Mon, 25 Feb 2019 08:37:11 +0000 (11:37 +0300)
committernds <nds@opencascade.com>
Mon, 25 Feb 2019 08:37:11 +0000 (11:37 +0300)
commitbc09b9e3dac0d5ff314fb715ec7daf0063e430b9
treeff803c880d674649c1c4a50c45a9d7c19b7f000a
parenta151681f49e3f365a76c0491bec127c72b594258
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 imlementation, 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.

(cherry picked from commit 9e00d610b88e4f1778a5a55fe9c50d2665169d28)
src/IMeshTools/IMeshTools_ShapeExplorer.cxx
tests/bugs/moddata_3/bug30497 [new file with mode: 0644]