mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-25 07:59:20 -07:00
Use AMF object and volume metadata for handling per-object and per-volume settings
This commit is contained in:
@@ -321,7 +321,7 @@ ModelVolume::ModelVolume(ModelObject* object, const TriangleMesh &mesh)
|
||||
{}
|
||||
|
||||
ModelVolume::ModelVolume(ModelObject* object, const ModelVolume &other)
|
||||
: object(object), mesh(other.mesh), modifier(other.modifier)
|
||||
: object(object), mesh(other.mesh), config(other.config), modifier(other.modifier)
|
||||
{
|
||||
this->material_id(other.material_id());
|
||||
}
|
||||
|
||||
@@ -139,6 +139,7 @@ class ModelVolume
|
||||
friend class ModelObject;
|
||||
public:
|
||||
TriangleMesh mesh;
|
||||
DynamicPrintConfig config;
|
||||
bool modifier;
|
||||
|
||||
ModelObject* get_object() const { return this->object; };
|
||||
|
||||
Reference in New Issue
Block a user