mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Correction because of 'smeshDC' refactoring.
This commit is contained in:
parent
7f7f68d7de
commit
6524427cb2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user