Use AMF object and volume metadata for handling per-object and per-volume settings

This commit is contained in:
Alessandro Ranellucci 2014-07-11 20:09:01 +02:00
parent 4d67f902b6
commit f82a8475a1
7 changed files with 47 additions and 27 deletions

View file

@ -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());
}