mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-13 17:18:35 +05:00
Qt4 porting. Hypothesis Nb segment count Number of segment as not positive first time.
This commit is contained in:
parent
9ab9c302de
commit
be89ffa623
@ -680,5 +680,7 @@ bool StdMeshers_NumberOfSegments::SetParametersByMesh(const SMESH_Mesh* theMes
|
||||
if ( nbEdges )
|
||||
_numberOfSegments /= nbEdges;
|
||||
|
||||
if (_numberOfSegments == 0) _numberOfSegments = 1;
|
||||
|
||||
return nbEdges;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user