diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2007-08-09 23:49:05 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2007-08-09 23:49:05 +0000 |
| commit | 9e90b9d5ddb2ccae801d68975b4a9dee89996560 (patch) | |
| tree | d1ab924656e157eea414c3dca86aaf9eb2a1cc18 /src/inkscape.cpp | |
| parent | Status bar tips for VP draggers (diff) | |
| download | inkscape-9e90b9d5ddb2ccae801d68975b4a9dee89996560.tar.gz inkscape-9e90b9d5ddb2ccae801d68975b4a9dee89996560.zip | |
Hold perspectives on document level rather than globally; this corrects the changes made in commit #15681
(bzr r3445)
Diffstat (limited to 'src/inkscape.cpp')
| -rw-r--r-- | src/inkscape.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
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; } |
