Code

Workaround for some segfaults: Store perspectives globally instead of in each desktop...
[inkscape.git] / src / desktop.h
index fa6602651bc1b8c8dd2b8fc4ade2a99146e7fe22..ca2d2420465f919ac7ab474cc5c637b96eb76adc 100644 (file)
@@ -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,10 +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);
-
     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);