Salome HOME
generalisation publication conditionnelle
[modules/smesh.git] / src / Tools / blocFissure / gmu / trouveEdgesFissPeau.py
index 13289ac2cbe6613a3f94a02d66c0ea97401ac393..49205e6887c870d76862ae60390e121fae4ea2e9 100644 (file)
@@ -3,6 +3,9 @@
 import logging
 
 from geomsmesh import geompy
+from geomsmesh import geomPublish
+from geomsmesh import geomPublishInFather
+import initLog
 
 def trouveEdgesFissPeau(facesInside, facesOnside, edgesPipeIn, edgesFondIn, partitionPeauFissFond, edgesFissExtPeau):
   """
@@ -24,6 +27,6 @@ def trouveEdgesFissPeau(facesInside, facesOnside, edgesPipeIn, edgesFondIn, part
     if (len(edgesPeauFis) > 0) and (len(edgesPipeFis) > 0) and (len(edgesPipeFnd) == 0):
       edgesFissExtPeau.append(edgesPeauFis[0])
       name="edgesFissExtPeau%d"%j
-      geompy.addToStudyInFather(partitionPeauFissFond, edgesPeauFis[0], name)
+      geomPublishInFather(initLog.debug,partitionPeauFissFond, edgesPeauFis[0], name)
       j += 1
   return edgesFissExtPeau
\ No newline at end of file