From 3c2c7252aaaa662b3f529bcd835a76375b2ea204 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 30 Jul 2008 16:39:52 +0000 Subject: comments (bzr r6480) --- src/persp3d.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/persp3d.cpp') diff --git a/src/persp3d.cpp b/src/persp3d.cpp index 4c2c620be..ec4244f6b 100644 --- a/src/persp3d.cpp +++ b/src/persp3d.cpp @@ -578,6 +578,9 @@ persp3d_has_all_boxes_in_selection (Persp3D *persp) { 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_unselected_boxes(Inkscape::Selection *selection) { @@ -601,6 +604,10 @@ 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 > punsel = persp3d_unselected_boxes(selection); -- cgit v1.2.3