From: jfa Date: Fri, 24 Aug 2007 12:44:39 +0000 (+0000) Subject: Fix pb. of merge X-Git-Tag: V4_1_0a1~30 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8407274e7b3575f269432f68d928067aad419bc0;p=modules%2Fsmesh.git Fix pb. of merge --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index d9881a6a7..fce525a9e 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -457,7 +457,7 @@ class Mesh_Algorithm: def Create(self, mesh, geom, hypo, so="libStdMeshersEngine.so"): if geom is None: raise RuntimeError, "Attemp to create " + hypo + " algoritm on None shape" - algo = smesh.CreateHypothesis(hypo, so) + algo = self.mesh.smeshpyD.CreateHypothesis(hypo, so) self.Assign(algo, mesh, geom) return self.algo @@ -489,7 +489,7 @@ class Mesh_Algorithm: if hypo!=None: CreateNew = 0 pass if CreateNew: - hypo = smesh.CreateHypothesis(hyp, so) + hypo = self.mesh.smeshpyD.CreateHypothesis(hyp, so) key = "%s %s %s" % (self.__class__.__name__, hyp, args) Mesh_Algorithm.hypos[key] = hypo a = ""