]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
authoreap <eap@opencascade.com>
Wed, 14 Nov 2012 12:40:47 +0000 (12:40 +0000)
committereap <eap@opencascade.com>
Wed, 14 Nov 2012 12:40:47 +0000 (12:40 +0000)
commite1524c66bc682fef5507dda69b9af842859adcd1
tree727acebe6cc4e13c9a3c8c2ef7d3f2c9fba4c2c1
parent258d9f24d938a2a83147c190d46d9c7659bcd053
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes

    Avoid dump failure if create a sub-mesh on the main shape
    extracted from it-self

    def Assign(self, algo, mesh, geom):
         ...
-        if not geom:
+        if not geom or geom.IsSame( mesh.geom ):
             self.geom = mesh.geom
src/SMESH_SWIG/smesh_algorithm.py