]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix pb. of merge
authorjfa <jfa@opencascade.com>
Fri, 24 Aug 2007 12:44:39 +0000 (12:44 +0000)
committerjfa <jfa@opencascade.com>
Fri, 24 Aug 2007 12:44:39 +0000 (12:44 +0000)
src/SMESH_SWIG/smeshDC.py

index d9881a6a7a0ddb656b0e64f5e9991945c0f7676b..fce525a9ed4e097ecec6300e86a106e3a2950274 100644 (file)
@@ -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 = ""