mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0028239: PMIVis - defined positions and number of places are not loaded properly in some cases
Corrected 'addTolModif' test command
This commit is contained in:
parent
bf961e3c29
commit
ea3193f52e
@ -1322,7 +1322,7 @@ static Standard_Integer addTolModif (Draw_Interpretor& di, Standard_Integer argc
|
||||
{
|
||||
for(Standard_Integer i = 3; i < argc; i++)
|
||||
{
|
||||
if(Draw::Atoi(argv[i]) > -1 && Draw::Atoi(argv[i]) < 15)
|
||||
if(Draw::Atoi(argv[i]) > -1 && Draw::Atoi(argv[i]) < 17)
|
||||
{
|
||||
Handle(XCAFDimTolObjects_GeomToleranceObject) anObj = aGeomTolerance->GetObject();
|
||||
anObj->AddModifier((XCAFDimTolObjects_GeomToleranceModif)Draw::Atoi(argv[i]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user