mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Fix mesh saving/loading with OCC 7.6
This commit is contained in:
parent
b113ec48ed
commit
1497404a4c
@ -1589,7 +1589,11 @@ namespace netgen
|
||||
if(ar.Output())
|
||||
{
|
||||
std::stringstream ss;
|
||||
#if OCC_VERSION_HEX < 0x070600
|
||||
BRepTools::Write(shape, ss);
|
||||
#else
|
||||
BRepTools::Write(shape, ss, false, false, TopTools_FormatVersion_VERSION_1);
|
||||
#endif
|
||||
ar << ss.str();
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user