mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
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() };
|
||||
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue