From: eap Date: Tue, 17 Apr 2012 16:14:50 +0000 (+0000) Subject: Regression on SMESH_TEST/Grids/smesh/bugs/F8 X-Git-Tag: TRIPOLI_323~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c33958e2e9680289322fed13f2a394f0eb0b261;p=modules%2Fsmesh.git Regression on SMESH_TEST/Grids/smesh/bugs/F8 Fix LengthNearVertex() + import geompyDC --- diff --git a/src/SMESH_SWIG/StdMeshersDC.py b/src/SMESH_SWIG/StdMeshersDC.py index e780b5457..31c8b8544 100644 --- a/src/SMESH_SWIG/StdMeshersDC.py +++ b/src/SMESH_SWIG/StdMeshersDC.py @@ -274,6 +274,7 @@ class StdMeshersDC_Segment(Mesh_Algorithm): store_geom = self.geom if type(vertex) is types.IntType: if vertex == 0 or vertex == 1: + import geompyDC vertex = self.mesh.geompyD.ExtractShapes(self.geom, geompyDC.ShapeType["VERTEX"],True)[vertex] self.geom = vertex pass