mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +05:00
Regression on SMESH_TEST/Grids/smesh/bugs/F8
Fix LengthNearVertex() + import geompyDC
This commit is contained in:
parent
58c4b1fe8a
commit
3c33958e2e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user