From: akl Date: Wed, 17 Apr 2013 06:21:15 +0000 (+0000) Subject: Correction of script because of 'geompyDC' refactoring. X-Git-Tag: V7_2_0rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f7f68d7de470c07dd5637aec24fde71f81c461c;p=modules%2Fsmesh.git Correction of script because of 'geompyDC' refactoring. --- diff --git a/src/SMESH_SWIG/StdMeshersBuilder.py b/src/SMESH_SWIG/StdMeshersBuilder.py index 93ed1ccfb..07fbc4d51 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 salome.geom import geomBuilder - vertex = self.mesh.geompyD.ExtractShapes(self.geom, geomBuilder.ShapeType["VERTEX"],True)[vertex] + from geompy import ShapeType + vertex = self.mesh.geompyD.ExtractShapes(self.geom, ShapeType["VERTEX"],True)[vertex] self.geom = vertex pass pass