From 9e90b9d5ddb2ccae801d68975b4a9dee89996560 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 9 Aug 2007 23:49:05 +0000 Subject: Hold perspectives on document level rather than globally; this corrects the changes made in commit #15681 (bzr r3445) --- src/inkscape.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/inkscape.cpp') diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 8f76edddf..c167be493 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -59,7 +59,6 @@ using Inkscape::Extension::Internal::PrintWin32; #include "prefs-utils.h" #include "xml/repr.h" #include "io/sys.h" -#include "perspective3d.h" #include "extension/init.h" @@ -598,21 +597,6 @@ inkscape_application_init (const gchar *argv0, gboolean use_gui) /* Initialize the extensions */ Inkscape::Extension::init(); - /* Create an initial perspective, append it to the list of existing perspectives and make it current */ - Box3D::Perspective3D *initial_persp = new Box3D::Perspective3D ( - // VP in x-direction - Box3D::VanishingPoint( NR::Point(-50.0, 600.0), - NR::Point( -1.0, 0.0), Box3D::VP_FINITE), - // VP in y-direction - Box3D::VanishingPoint( NR::Point(500.0,1000.0), - NR::Point( 0.0, 1.0), Box3D::VP_INFINITE), - // VP in z-direction - Box3D::VanishingPoint( NR::Point(700.0, 600.0), - NR::Point(sqrt(3.0),1.0), Box3D::VP_FINITE)); - - Box3D::Perspective3D::current_perspective = initial_persp; - Box3D::Perspective3D::add_perspective (initial_persp); - return; } -- cgit v1.2.3