From 9c56f8134830c9a3a28319dcf7582f52bd666d5e Mon Sep 17 00:00:00 2001 From: cilix42 Date: Wed, 30 Jul 2008 16:39:52 +0000 Subject: [PATCH] comments --- src/persp3d.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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); -- 2.30.2