]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Correction because of 'smeshDC' refactoring.
authorakl <akl@opencascade.com>
Wed, 17 Apr 2013 10:15:09 +0000 (10:15 +0000)
committerakl <akl@opencascade.com>
Wed, 17 Apr 2013 10:15:09 +0000 (10:15 +0000)
src/SMESH_SWIG/StdMeshersBuilder.py

index 07fbc4d511a07e2096dd2f6bae7ee6ddc4477a02..e2f1d5f4666e6b6481916e839098acdc25e4af03 100644 (file)
@@ -302,8 +302,8 @@ class StdMeshersBuilder_Segment(Mesh_Algorithm):
         store_geom = self.geom
         if type(vertex) is types.IntType:
             if vertex == 0 or vertex == 1:
-                from geompy import ShapeType
-                vertex = self.mesh.geompyD.ExtractShapes(self.geom, ShapeType["VERTEX"],True)[vertex]
+                from salome.geom import geomBuilder
+                vertex = self.mesh.geompyD.ExtractShapes(self.geom, geomBuilder.geomBuilder.ShapeType["VERTEX"],True)[vertex]
                 self.geom = vertex
                 pass
             pass