Qt4 porting. Hypothesis Nb segment count Number of segment as not positive first time.

This commit is contained in:
dmv 2008-10-17 07:56:04 +00:00
parent 9ab9c302de
commit be89ffa623

View File

@ -680,5 +680,7 @@ bool StdMeshers_NumberOfSegments::SetParametersByMesh(const SMESH_Mesh* theMes
if ( nbEdges ) if ( nbEdges )
_numberOfSegments /= nbEdges; _numberOfSegments /= nbEdges;
if (_numberOfSegments == 0) _numberOfSegments = 1;
return nbEdges; return nbEdges;
} }