mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Attempt to solve conflict with a3bd1b5
by adding id to PrintObject and using that as a hash key.
This commit is contained in:
parent
9247f21ff8
commit
19d18bdd84
4 changed files with 19 additions and 7 deletions
|
@ -90,6 +90,7 @@ class PrintObject
|
|||
|
||||
|
||||
Print* print();
|
||||
int id();
|
||||
ModelObject* model_object();
|
||||
|
||||
// adds region_id, too, if necessary
|
||||
|
@ -111,11 +112,12 @@ class PrintObject
|
|||
|
||||
private:
|
||||
Print* _print;
|
||||
int _id;
|
||||
ModelObject* _model_object;
|
||||
|
||||
// TODO: call model_object->get_bounding_box() instead of accepting
|
||||
// parameter
|
||||
PrintObject(Print* print, ModelObject* model_object,
|
||||
PrintObject(Print* print, int id, ModelObject* model_object,
|
||||
const BoundingBoxf3 &modobj_bbox);
|
||||
virtual ~PrintObject();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue