mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-12 16:17:29 +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())
|
if(ar.Output())
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
#if OCC_VERSION_HEX < 0x070600
|
||||||
BRepTools::Write(shape, ss);
|
BRepTools::Write(shape, ss);
|
||||||
|
#else
|
||||||
|
BRepTools::Write(shape, ss, false, false, TopTools_FormatVersion_VERSION_1);
|
||||||
|
#endif
|
||||||
ar << ss.str();
|
ar << ss.str();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user