update mesh file v2.1 to include string and RegisteredDataType

This commit is contained in:
Max Lyon
2021-03-15 15:26:33 +01:00
parent d714d361ee
commit cdc1d11ef1
2 changed files with 1 additions and 2 deletions

View File

@@ -1665,11 +1665,10 @@ void do_all_property_types(MeshT& _mesh, PropertyAction action, int version)
do_property<MeshT, HandleT, char> (_mesh, action);
do_property<MeshT, HandleT, bool> (_mesh, action);
do_property<MeshT, HandleT, std::string> (_mesh, action);
do_property<MeshT, HandleT, RegisteredDataType> (_mesh, action);
if(version >= 22)
{
do_property<MeshT, HandleT, RegisteredDataType> (_mesh, action);
do_property<MeshT, HandleT, std::vector<int>> (_mesh, action);
do_property<MeshT, HandleT, std::vector<double>> (_mesh, action);
do_property<MeshT, HandleT, std::vector<float>> (_mesh, action);