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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-04-10 16:55:32 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-04-10 16:55:32 +0300
commit8b9568797a5b7015185bf451c0cb98cf254ab1d9 (patch)
tree342306157dcd02b5ba2fd24deb6c8958bcb8bdf7 /src/slic3r/GUI/Selection.hpp
parent1b6bf30e767f4c154fb31122536868f1372632ca (diff)
Copy and paste -> prototype of copy and paste for objects
Diffstat (limited to 'src/slic3r/GUI/Selection.hpp')
-rw-r--r--src/slic3r/GUI/Selection.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Selection.hpp b/src/slic3r/GUI/Selection.hpp
index e04c37356..9fa9f1869 100644
--- a/src/slic3r/GUI/Selection.hpp
+++ b/src/slic3r/GUI/Selection.hpp
@@ -162,6 +162,7 @@ private:
ModelObject* add_object() { return m_model.add_object(); }
ModelObject* get_object(unsigned int id) { return (id < (unsigned int)m_model.objects.size()) ? m_model.objects[id] : nullptr; }
+ const ModelObjectPtrs& get_objects() const { return m_model.objects; }
Selection::EMode get_mode() const { return m_mode; }
void set_mode(Selection::EMode mode) { m_mode = mode; }
@@ -322,8 +323,9 @@ private:
void synchronize_unselected_volumes();
void ensure_on_bed();
bool is_from_fully_selected_instance(unsigned int volume_idx) const;
+
void paste_volumes_from_clipboard();
- void paste_object_from_clipboard();
+ void paste_objects_from_clipboard();
};
} // namespace GUI