summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 845b00a)
raw | patch | inline | side by side (parent: 845b00a)
author | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 30 Jul 2008 16:39:52 +0000 (16:39 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Wed, 30 Jul 2008 16:39:52 +0000 (16:39 +0000) |
src/persp3d.cpp | patch | blob | history |
diff --git a/src/persp3d.cpp b/src/persp3d.cpp
index 4c2c620be0dce1f0234b53f55b0f9cd0a7993000..ec4244f6ba47b6eb5a679990c1d4c7f74ff08aee 100644 (file)
--- a/src/persp3d.cpp
+++ b/src/persp3d.cpp
return true;
}
+/**
+ * For each perspective having a box in \a selection, determine all its unselected boxes.
+ */
// TODO: Check where we can use pass-by-reference (or so) instead of recreating all the lists afresh.
std::map<Persp3D *, std::list<SPBox3D *> >
persp3d_unselected_boxes(Inkscape::Selection *selection) {
return punsel;
}
+/**
+ * Split all perspectives with a box in \a selection by moving their unselected boxes to newly
+ * created perspectives.
+ */
void
persp3d_split_perspectives_according_to_selection(Inkscape::Selection *selection) {
std::map<Persp3D *, std::list<SPBox3D *> > punsel = persp3d_unselected_boxes(selection);