From 6524427cb236ef241d5bc27113278ba994cdbcd1 Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 17 Apr 2013 10:15:09 +0000 Subject: [PATCH] Correction because of 'smeshDC' refactoring. --- src/SMESH_SWIG/StdMeshersBuilder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SMESH_SWIG/StdMeshersBuilder.py b/src/SMESH_SWIG/StdMeshersBuilder.py index 07fbc4d51..e2f1d5f46 100644 --- a/src/SMESH_SWIG/StdMeshersBuilder.py +++ b/src/SMESH_SWIG/StdMeshersBuilder.py @@ -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 -- 2.39.2