mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-06 04:37:55 +08:00
0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform
class IntTools_ShrunkRange method void IntTools_ShrunkRange::Perform() Fix to avoid creation of small section edges. Correction of test case for issue CR23753
This commit is contained in:
@@ -316,6 +316,10 @@ void IntTools_ShrunkRange::Perform()
|
||||
if(!bFound) {
|
||||
if(dt1 > (t2 - t1)) {
|
||||
dt1 = aBAC.Resolution(d1);
|
||||
if (dt1 > (t2 - t1)) {
|
||||
myErrorStatus = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -411,6 +415,10 @@ void IntTools_ShrunkRange::Perform()
|
||||
if(!bFound) {
|
||||
if(dt2 > (t2 - t1)) {
|
||||
dt2 = aBAC.Resolution(d2);
|
||||
if(dt2 > (t2 - t1)) {
|
||||
myErrorStatus = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user