mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
check OCC-Version of HasErrors
This commit is contained in:
parent
dc15e50956
commit
1d97367e30
@ -236,6 +236,7 @@ namespace netgen
|
||||
// Perform the operation
|
||||
aBuilder.Perform();
|
||||
// Check for the errors
|
||||
#if OCC_VERSION_HEX >= 0x070000
|
||||
if (aBuilder.HasErrors())
|
||||
{
|
||||
cout << "builder has errors" << endl;
|
||||
@ -247,6 +248,7 @@ namespace netgen
|
||||
// treatment of the warnings
|
||||
;
|
||||
}
|
||||
#endif
|
||||
// result of the operation
|
||||
shape = aBuilder.Shape();
|
||||
BuildFMap();
|
||||
|
Loading…
Reference in New Issue
Block a user