From 3c33958e2e9680289322fed13f2a394f0eb0b261 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 17 Apr 2012 16:14:50 +0000 Subject: [PATCH] Regression on SMESH_TEST/Grids/smesh/bugs/F8 Fix LengthNearVertex() + import geompyDC --- src/SMESH_SWIG/StdMeshersDC.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2