mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Some fixes after the recent Model refactoring
This commit is contained in:
parent
65b7d27def
commit
27c73f5983
6 changed files with 37 additions and 9 deletions
|
@ -138,14 +138,17 @@ class ModelVolume
|
|||
{
|
||||
friend class ModelObject;
|
||||
public:
|
||||
t_model_material_id material_id;
|
||||
TriangleMesh mesh;
|
||||
bool modifier;
|
||||
|
||||
ModelObject* get_object() const { return this->object; };
|
||||
t_model_material_id material_id() const;
|
||||
void material_id(t_model_material_id material_id);
|
||||
ModelMaterial* material() const;
|
||||
|
||||
private:
|
||||
ModelObject* object;
|
||||
t_model_material_id _material_id;
|
||||
|
||||
ModelVolume(ModelObject *object, const TriangleMesh &mesh);
|
||||
ModelVolume(ModelObject *object, const ModelVolume &other);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue