Fix a bug with improper set of default value for "required number of segments" parameter of BSplineRestriction operator of ShapeProcess function: "0" value leads to a SIGSEGV

This commit is contained in:
vsr 2014-12-22 16:11:32 +03:00
parent 5f45c719f3
commit 88793a0d15

View File

@ -259,6 +259,7 @@ void RepairGUI_ShapeProcessDlg::init()
myBSplineDegree = new SalomeApp_IntSpinBox( w );
myBSplineSegments = new SalomeApp_IntSpinBox( w );
initSpinBox( myBSplineSegments, 1, 1000, 1);
myBSpline2DCont = new QComboBox( w );
myBSpline2DCont->addItems( aContinueties );
myBSpline3DCont = new QComboBox( w );