diff options
author | bubnikv <bubnikv@gmail.com> | 2016-10-16 17:30:56 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-10-16 17:30:56 +0300 |
commit | 7d7f093120df5fcdfd1f9b21fc6b0622636a7ff1 (patch) | |
tree | 629a535ccdb2e4de749de28ea8a34c5a6b27d5c9 /xs/src/libslic3r/Layer.hpp | |
parent | 8f40d9b34ea75c5e772dfb4aab18554c49536f8c (diff) |
C++ supports sketched, but not finalized yet. Slic3r is still using
the old Perl supports, but this time with the C++ fillers.
Diffstat (limited to 'xs/src/libslic3r/Layer.hpp')
-rw-r--r-- | xs/src/libslic3r/Layer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Layer.hpp b/xs/src/libslic3r/Layer.hpp index 098797d8f..523674681 100644 --- a/xs/src/libslic3r/Layer.hpp +++ b/xs/src/libslic3r/Layer.hpp @@ -26,7 +26,8 @@ class LayerRegion public: Layer* layer(); - PrintRegion* region(); + PrintRegion* region() { return this->_region; } + const PrintRegion* region() const { return this->_region; } // collection of surfaces generated by slicing the original geometry // divided by type top/bottom/internal |