mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-28 03:10:34 +05:00
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:
parent
5f45c719f3
commit
88793a0d15
@ -259,6 +259,7 @@ void RepairGUI_ShapeProcessDlg::init()
|
|||||||
|
|
||||||
myBSplineDegree = new SalomeApp_IntSpinBox( w );
|
myBSplineDegree = new SalomeApp_IntSpinBox( w );
|
||||||
myBSplineSegments = new SalomeApp_IntSpinBox( w );
|
myBSplineSegments = new SalomeApp_IntSpinBox( w );
|
||||||
|
initSpinBox( myBSplineSegments, 1, 1000, 1);
|
||||||
myBSpline2DCont = new QComboBox( w );
|
myBSpline2DCont = new QComboBox( w );
|
||||||
myBSpline2DCont->addItems( aContinueties );
|
myBSpline2DCont->addItems( aContinueties );
|
||||||
myBSpline3DCont = new QComboBox( w );
|
myBSpline3DCont = new QComboBox( w );
|
||||||
|
Loading…
Reference in New Issue
Block a user