mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
0020279: [CEA 334] control the "random" use when using mesh algorithms
fix SourceShape3D() for the case when no vertices are provided
This commit is contained in:
parent
f33734eda1
commit
ec51778b0c
@ -4543,7 +4543,9 @@ class Mesh_Projection3D(Mesh_Algorithm):
|
||||
if not mesh is None and isinstance(mesh, Mesh):
|
||||
mesh = mesh.GetMesh()
|
||||
hyp.SetSourceMesh( mesh )
|
||||
hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 )
|
||||
if srcV1 and srcV2 and tgtV1 and tgtV2:
|
||||
hyp.SetVertexAssociation( srcV1, srcV2, tgtV1, tgtV2 )
|
||||
#elif srcV1 or srcV2 or tgtV1 or tgtV2:
|
||||
return hyp
|
||||
|
||||
## Checks if the given "SourceShape3D" hypothesis has the same parameters as given arguments
|
||||
|
Loading…
Reference in New Issue
Block a user