| 869 | } |
| 870 | |
| 871 | void MeshAccess :: DoArchive(Archive& ar) |
| 872 | { |
| 873 | auto mshptr = mesh.GetMesh(); |
| 874 | ar.Shallow(mshptr); |
| 875 | if(ar.Input()) |
| 876 | { |
| 877 | // Create the Ngx_Mesh interface |
| 878 | mesh = {mshptr}; |
| 879 | UpdateBuffers(); |
| 880 | } |
| 881 | } |
| 882 | |
| 883 | void MeshAccess :: SelectMesh() const |
| 884 | { |