mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-14 04:41:33 +05:00
CR32840 - EDF 26406 - problem of dump
Fixed problem with initialize QuadrangleParameters with default parameters for Quadrangle 2D algo after load of python dump
This commit is contained in:
parent
fd3745e6c2
commit
6600bcec78
@ -738,9 +738,11 @@ class StdMeshersBuilder_Quadrangle(Mesh_Algorithm):
|
||||
if corners and isinstance( corners[0], GEOM._objref_GEOM_Object ):
|
||||
corners = [ self.mesh.geompyD.GetSubShapeID( self.mesh.geom, v ) for v in corners ]
|
||||
|
||||
if self.params.GetQuadType() != quadType:
|
||||
#If quadType is None - will used default parameter ( StdMeshers.QUAD_STANDARD )
|
||||
if quadType and self.params.GetQuadType() != quadType:
|
||||
self.params.SetQuadType(quadType)
|
||||
if vertexID > 0:
|
||||
#If triangleVertex is None - will used default parameter ( -1 ):
|
||||
if triangleVertex and vertexID > 0:
|
||||
self.params.SetTriaVertex( vertexID )
|
||||
from salome.smesh.smeshBuilder import AssureGeomPublished
|
||||
for v in enfVertices:
|
||||
|
Loading…
x
Reference in New Issue
Block a user