Code

Fix LP #196893 (weird snapping of 3D box Z handles)
authorcilix42 <cilix42@users.sourceforge.net>
Mon, 3 Mar 2008 00:37:51 +0000 (00:37 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Mon, 3 Mar 2008 00:37:51 +0000 (00:37 +0000)
src/persp3d.cpp

index 76cbc15880aeb4273a2bb77a0e36cfdc5aa94332..35999720d28e1d9a586262586f8ae11db12b0684 100644 (file)
@@ -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();