summaryrefslogtreecommitdiffstats
path: root/src/persp3d.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-03-03 00:37:51 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-03-03 00:37:51 +0000
commitc2e6e560fd3fd50874447802d648af16921d829d (patch)
tree9cf20e3430fd98907850d9b0f93e80507fd7ffe7 /src/persp3d.cpp
parentchanged vonkoch to use bbox of input object as reference. (diff)
downloadinkscape-c2e6e560fd3fd50874447802d648af16921d829d.tar.gz
inkscape-c2e6e560fd3fd50874447802d648af16921d829d.zip
Fix LP #196893 (weird snapping of 3D box Z handles)
(bzr r4933)
Diffstat (limited to 'src/persp3d.cpp')
-rw-r--r--src/persp3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/persp3d.cpp b/src/persp3d.cpp
index 76cbc1588..35999720d 100644
--- a/src/persp3d.cpp
+++ b/src/persp3d.cpp
@@ -212,7 +212,7 @@ persp3d_create_xml_element (SPDocument *document, Persp3D *dup) {// if dup is gi
Proj::Pt2 proj_vp_x = Proj::Pt2 (0.0, sp_document_height(document)/2, 1.0);
Proj::Pt2 proj_vp_y = Proj::Pt2 ( 0.0,1000.0, 0.0);
Proj::Pt2 proj_vp_z = Proj::Pt2 (sp_document_width(document), sp_document_height(document)/2, 1.0);
- Proj::Pt2 proj_origin = Proj::Pt2 (sp_document_width(document)/2, sp_document_height(document)/2, 1.0);
+ Proj::Pt2 proj_origin = Proj::Pt2 (sp_document_width(document)/2, sp_document_height(document)/3, 1.0);
gchar *str = NULL;
str = proj_vp_x.coord_string();