mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +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
|
// Perform the operation
|
||||||
aBuilder.Perform();
|
aBuilder.Perform();
|
||||||
// Check for the errors
|
// Check for the errors
|
||||||
|
#if OCC_VERSION_HEX >= 0x070000
|
||||||
if (aBuilder.HasErrors())
|
if (aBuilder.HasErrors())
|
||||||
{
|
{
|
||||||
cout << "builder has errors" << endl;
|
cout << "builder has errors" << endl;
|
||||||
@ -247,6 +248,7 @@ namespace netgen
|
|||||||
// treatment of the warnings
|
// treatment of the warnings
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// result of the operation
|
// result of the operation
|
||||||
shape = aBuilder.Shape();
|
shape = aBuilder.Shape();
|
||||||
BuildFMap();
|
BuildFMap();
|
||||||
|
Loading…
Reference in New Issue
Block a user