Fix UnidentifiedShape I/O
Compare changes
@@ -441,8 +441,9 @@ int main(int argc, char *argv[])
This MR fixes the I/O of the GeoUnidentifiedShape. In particular, it fixes the restore, which was broken in two points:
name
parameter was read from the DB instead of the asciiData
, because the name was read twice (the index of the vector was not modified correctly)GeoUnidentifiedShape(asciiData, name)
instead of the correct GeoUnidentifiedShape(name, asciiData)
This MR also adds a new CTest unit test to test the write and restore of the GeoUnidentifiedShape node.