]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL13330( When mesh generation does not success, trace where ) V3_2_6pre4
authoreap <eap@opencascade.com>
Fri, 13 Apr 2007 06:45:39 +0000 (06:45 +0000)
committereap <eap@opencascade.com>
Fri, 13 Apr 2007 06:45:39 +0000 (06:45 +0000)
-            smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) )
+            smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (self.NbNodes()==0) )

src/SMESH_SWIG/smesh.py

index db9602b401ff1bc0961faada2720f2a05a963245..7d46dd9d709c6bd2ee8a1d3374ab5fee188023c8 100644 (file)
@@ -1321,7 +1321,7 @@ class Mesh:
         if salome.sg.hasDesktop():
             smeshgui = salome.ImportComponentGUI("SMESH")
             smeshgui.Init(salome.myStudyId)
-            smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (NbNodes()==0) )
+            smeshgui.SetMeshIcon( salome.ObjectToID( self.mesh ), ok, (self.NbNodes()==0) )
             salome.sg.updateObjBrowser(1)
             pass
         return ok