mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-30 19:30:35 +05:00
Fix pb. of merge
This commit is contained in:
parent
856524def1
commit
8407274e7b
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user