From 366e10d6ec4a44590ded088a8d6b741769769c43 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 25 Oct 2014 11:10:44 +0200 Subject: [PATCH] Added comment --- xs/src/libslic3r/Model.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xs/src/libslic3r/Model.hpp b/xs/src/libslic3r/Model.hpp index 5fabf29272..c5123e5fc1 100644 --- a/xs/src/libslic3r/Model.hpp +++ b/xs/src/libslic3r/Model.hpp @@ -95,6 +95,11 @@ class ModelObject ModelVolumePtrs volumes; DynamicPrintConfig config; t_layer_height_ranges layer_height_ranges; + + /* This vector accumulates the total translation applied to the object by the + center_around_origin() method. Callers might want to apply the same translation + to new volumes before adding them to this object in order to preset alignment + when user expects that. */ Pointf origin_translation; // these should be private but we need to expose them via XS until all methods are ported