mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Tiny polishing and documentation.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user