mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 22:50:33 +05:00
on mesh loading, set dummy-geometry if no geometry in mesh-file
This commit is contained in:
parent
5ed3de978b
commit
70da438d6d
@ -108,7 +108,8 @@ void Ng_LoadMeshFromStream ( istream & input )
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!ng_geometry)
|
||||||
|
ng_geometry = make_shared<NetgenGeometry>();
|
||||||
mesh->SetGeometry (ng_geometry);
|
mesh->SetGeometry (ng_geometry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user