summaryrefslogtreecommitdiffstats
path: root/src/desktop.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-08-06 07:20:23 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-08-06 07:20:23 +0000
commitd01e7d7d15cfcc0b603eecc6a0d0b925f00ee003 (patch)
treec2a24485c71bc11cd194266d429f13f7313f6297 /src/desktop.h
parentConvenience for debugging (diff)
downloadinkscape-d01e7d7d15cfcc0b603eecc6a0d0b925f00ee003.tar.gz
inkscape-d01e7d7d15cfcc0b603eecc6a0d0b925f00ee003.zip
Workaround for some segfaults: Store perspectives globally instead of in each desktop (this should probably be reverted later on)
(bzr r3390)
Diffstat (limited to 'src/desktop.h')
-rw-r--r--src/desktop.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/desktop.h b/src/desktop.h
index 5f4e2cfab..ca2d24204 100644
--- a/src/desktop.h
+++ b/src/desktop.h
@@ -34,7 +34,6 @@
#include "libnr/nr-rect.h"
#include "ui/view/view.h"
#include "ui/view/edit-widget-interface.h"
-#include "perspective3d.h"
class NRRect;
class SPCSSAttr;
@@ -113,9 +112,6 @@ struct SPDesktop : public Inkscape::UI::View::View
unsigned int interaction_disabled_counter;
bool waiting_cursor;
- // All 3D perspectives that are present in the current desktop
- GSList *perspectives;
-
/// \todo fixme: This has to be implemented in different way */
guint guides_active : 1;
@@ -206,11 +202,6 @@ struct SPDesktop : public Inkscape::UI::View::View
SPItem *group_at_point (NR::Point const p) const;
NR::Point point() const;
- // Methods to handle 3D perspective
- void add_perspective (Box3D::Perspective3D * const persp);
- void remove_perspective (Box3D::Perspective3D * const persp);
- Box3D::Perspective3D * find_perspective (Box3D::Perspective3D * const persp); // find an existing perspective whose VPs are equal to those of persp
-
NR::Rect get_display_area() const;
void set_display_area (double x0, double y0, double x1, double y1, double border, bool log = true);
void set_display_area(NR::Rect const &a, NR::Coord border, bool log = true);