mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 22:55:53 +08:00
Added an accessor to get a const reference to the underlying model object.
This commit is contained in:
parent
1742b64ce7
commit
6676368a34
@ -114,6 +114,7 @@ class PrintObject
|
||||
|
||||
Print* print();
|
||||
ModelObject* model_object() { return this->_model_object; };
|
||||
const ModelObject& model_object() const { return *(this->_model_object); };
|
||||
|
||||
Points copies() const;
|
||||
bool add_copy(const Pointf &point);
|
||||
|
Loading…
x
Reference in New Issue
Block a user