From: eap Date: Mon, 25 Nov 2013 09:13:09 +0000 (+0000) Subject: 0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py X-Git-Tag: V7_3_0a1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1faf00f67958592347b204e25db9c9252dc1e14e;p=modules%2Fsmesh.git 0022414: [CEA 1010] Regressio on tests bug_763_netgen_1d_2d.py + from salome.smesh.smeshBuilder import Mesh --- diff --git a/src/SMESH_SWIG/StdMeshersBuilder.py b/src/SMESH_SWIG/StdMeshersBuilder.py index 2163fed5a..e28659b55 100644 --- a/src/SMESH_SWIG/StdMeshersBuilder.py +++ b/src/SMESH_SWIG/StdMeshersBuilder.py @@ -693,7 +693,7 @@ class StdMeshersBuilder_Projection1D(Mesh_Algorithm): # @param UseExisting if ==true - searches for the existing hypothesis created with # the same parameters, else (default) - creates a new one def SourceEdge(self, edge, mesh=None, srcV=None, tgtV=None, UseExisting=0): - from salome.smesh.smeshBuilder import AssureGeomPublished + from salome.smesh.smeshBuilder import AssureGeomPublished, Mesh AssureGeomPublished( self.mesh, edge ) AssureGeomPublished( self.mesh, srcV ) AssureGeomPublished( self.mesh, tgtV ) @@ -853,6 +853,7 @@ class StdMeshersBuilder_Projection3D(Mesh_Algorithm): # seems to be not really useful to reuse existing "SourceShape3D" hypothesis #UseExisting=UseExisting, CompareMethod=self.CompareSourceShape3D) hyp.SetSource3DShape( solid ) + from salome.smesh.smeshBuilder import Mesh if isinstance(mesh, Mesh): mesh = mesh.GetMesh() if mesh: