mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025176: STEP Reader - no error report if referenced entity has wrong type.
Interface_CheckTool does not reset the Check added to CheckList now. Added test case bugs/xde/bug25176 Update reference data in test cases. Resolving conflicts: tests/de/iges_3/A4 tests/de/step_1/R7 tests/de/step_2/H1
This commit is contained in:
@@ -267,18 +267,18 @@ Interface_CheckIterator Interface_CheckTool::CompleteCheckList ()
|
||||
try {
|
||||
OCC_CATCH_SIGNALS
|
||||
for (i = n0; i <= nb; i ++) {
|
||||
ach->Clear();
|
||||
ent = model->Value(i);
|
||||
ach->SetEntity(ent);
|
||||
if (model->IsReportEntity(i)) {
|
||||
ach = model->ReportEntity(i)->Check(); // INCLUT Unknown
|
||||
if (ach->HasFailed()) // FAIL : pas de Check semantique
|
||||
{ res.Add(ach,i); thestat |= 12; continue; }
|
||||
}
|
||||
if (!model->HasSemanticChecks()) FillCheck(ent,theshare,ach);
|
||||
else ach->GetMessages (model->Check (i,Standard_False));
|
||||
if (ach->HasFailed() || ach->HasWarnings())
|
||||
{ res.Add(ach,i); if (ach->HasFailed()) thestat |= 12; }
|
||||
ach->Clear();
|
||||
ent = model->Value(i);
|
||||
ach->SetEntity(ent);
|
||||
if (model->IsReportEntity(i)) {
|
||||
ach = model->ReportEntity(i)->Check(); // INCLUT Unknown
|
||||
if (ach->HasFailed()) // FAIL : pas de Check semantique
|
||||
{ res.Add(ach,i); ach = new Interface_Check; thestat |= 12; continue; }
|
||||
}
|
||||
if (!model->HasSemanticChecks()) FillCheck(ent,theshare,ach);
|
||||
else ach->GetMessages (model->Check (i,Standard_False));
|
||||
if (ach->HasFailed() || ach->HasWarnings())
|
||||
{ res.Add(ach,i); ach = new Interface_Check; if (ach->HasFailed()) thestat |= 12; }
|
||||
}
|
||||
n0 = nb+1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user