diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-02-23 23:40:33 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-02-23 23:40:33 +0000 |
| commit | 6429c462cf8ca411d8ca755fc490a99c639161b2 (patch) | |
| tree | c29294d277ce06af072336a609feb993d372e84e /src/persp3d.cpp | |
| parent | Added pathscatter effect + slight modif of simpletransform... to compute bbox... (diff) | |
| download | inkscape-6429c462cf8ca411d8ca755fc490a99c639161b2.tar.gz inkscape-6429c462cf8ca411d8ca755fc490a99c639161b2.zip | |
Fix LP #194718
(bzr r4836)
Diffstat (limited to 'src/persp3d.cpp')
| -rw-r--r-- | src/persp3d.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/persp3d.cpp b/src/persp3d.cpp index d6ae5bd24..4b594d754 100644 --- a/src/persp3d.cpp +++ b/src/persp3d.cpp @@ -552,8 +552,8 @@ persp3d_on_repr_attr_changed ( Inkscape::XML::Node * /*repr*/, /* returns a std::set() of all perspectives of the currently selected boxes */ std::set<Persp3D *> -persp3d_currently_selected_persps (SPEventContext *ec) { - Inkscape::Selection *selection = sp_desktop_selection (ec->desktop); +persp3d_currently_selected_persps () { + Inkscape::Selection *selection = sp_desktop_selection(inkscape_active_desktop()); std::set<Persp3D *> p; for (GSList *i = (GSList *) selection->itemList(); i != NULL; i = i->next) { @@ -632,7 +632,7 @@ persp3d_print_all_selected() { g_print ("\n======================================\n"); g_print ("Selected perspectives and their boxes:\n"); - std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps (inkscape_active_event_context()); + std::set<Persp3D *> sel_persps = persp3d_currently_selected_persps(); for (std::set<Persp3D *>::iterator j = sel_persps.begin(); j != sel_persps.end(); ++j) { Persp3D *persp = SP_PERSP3D(*j); |
