Salome HOME
23586: [EDF] HYDRO: Copy mesh to new geometry
authoreap <eap@opencascade.com>
Wed, 5 Sep 2018 11:21:30 +0000 (14:21 +0300)
committereap <eap@opencascade.com>
Wed, 5 Sep 2018 11:21:30 +0000 (14:21 +0300)
commit5d596454037e662a3f2706be9c716118ec96bc3a
treeb6a4d4ca51d1ee0d423e18a0e0be348af4e8e5dd
parent1be0dcd9a7556a9a0c6a1a81bdcf3c5bfbd3c202
23586: [EDF] HYDRO: Copy mesh to new geometry

--- GEOM_Gen_i.cc ---
In order to assure safe and fast search of initial groups by groups of
the new geometry, behavior of GEOM_Gen operations that implement searching
and publishing of new groups corresponding to initial groups, is
slightly modified. A reference to an initial sub-object is published
under a corresponding new sub-object. The modified functions are
RestoreSubShapesO(), RestoreGivenSubShapesO() and RestoreSubShapesSO().

--- GEOM_Engine.cxx ---
Avoid double removal of GEOM_BaseObject that leads to removal of all
attributes from the root TDF label. That caused some regression, don't
remember which.
src/GEOM/GEOM_Engine.cxx
src/GEOM_I/GEOM_Gen_i.cc