/***************************************************************/
// Initialisations
- XSpin->RangeStepAndValidator(-999999.999, +999999.999, 10.0, 3);
- YSpin->RangeStepAndValidator(-999999.999, +999999.999, 10.0, 3);
- ZSpin->RangeStepAndValidator(-999999.999, +999999.999, 10.0, 3);
- AngleSpin->RangeStepAndValidator(-999999.999, +999999.999, 5.0, 3);
+ XSpin->RangeStepAndValidator(COORD_MIN, COORD_MAX, 10.0, 3);
+ YSpin->RangeStepAndValidator(COORD_MIN, COORD_MAX, 10.0, 3);
+ ZSpin->RangeStepAndValidator(COORD_MIN, COORD_MAX, 10.0, 3);
+ AngleSpin->RangeStepAndValidator(-180.0, 180.0, 5.0, 3);
mySelector = (SMESH::GetViewWindow( mySMESHGUI ))->GetSelector();