Tiny polishing and documentation.
This commit is contained in:
parent
0dad7adfa1
commit
dde64d361b
1 changed files with 6 additions and 2 deletions
|
@ -448,7 +448,11 @@ public:
|
||||||
Vec3d mesh_offset{ Vec3d::Zero() };
|
Vec3d mesh_offset{ Vec3d::Zero() };
|
||||||
Geometry::Transformation transform;
|
Geometry::Transformation transform;
|
||||||
|
|
||||||
template<class Archive> void serialize(Archive& ar) { ar(input_file, object_idx, volume_idx, mesh_offset, transform); }
|
template<class Archive> void serialize(Archive& ar) {
|
||||||
|
//FIXME Vojtech: Serialize / deserialize only if the Source is set.
|
||||||
|
// likely testing input_file or object_idx would be sufficient.
|
||||||
|
ar(input_file, object_idx, volume_idx, mesh_offset, transform);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Source source;
|
Source source;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue