Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-10-16 17:30:56 +0300
committerbubnikv <bubnikv@gmail.com>2016-10-16 17:30:56 +0300
commit7d7f093120df5fcdfd1f9b21fc6b0622636a7ff1 (patch)
tree629a535ccdb2e4de749de28ea8a34c5a6b27d5c9 /xs/src/libslic3r/Layer.hpp
parent8f40d9b34ea75c5e772dfb4aab18554c49536f8c (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.hpp3
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