diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-30 16:39:52 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-30 16:39:52 +0000 |
| commit | 3c2c7252aaaa662b3f529bcd835a76375b2ea204 (patch) | |
| tree | 54526d01e07a46fdead6e438c2185c3f32b4e378 /src/persp3d.cpp | |
| parent | *sigh* and yet another LPE :-) (diff) | |
| download | inkscape-3c2c7252aaaa662b3f529bcd835a76375b2ea204.tar.gz inkscape-3c2c7252aaaa662b3f529bcd835a76375b2ea204.zip | |
comments
(bzr r6480)
Diffstat (limited to 'src/persp3d.cpp')
| -rw-r--r-- | src/persp3d.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 *, std::list<SPBox3D *> > 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<Persp3D *, std::list<SPBox3D *> > punsel = persp3d_unselected_boxes(selection); |
