From a46424e0405b8e0eb958a49328effd2327660e4e Mon Sep 17 00:00:00 2001 From: cilix42 Date: Sun, 17 Feb 2008 18:13:23 +0000 Subject: [PATCH] Don't store perspectives in plain SVG --- src/persp3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/persp3d.cpp b/src/persp3d.cpp index 41ef4906b..9182d9dbe 100644 --- a/src/persp3d.cpp +++ b/src/persp3d.cpp @@ -260,7 +260,7 @@ persp3d_write(SPObject *object, Inkscape::XML::Node *repr, guint flags) { Persp3D *persp = SP_PERSP3D(object); - if ((flags & SP_OBJECT_WRITE_BUILD) && !repr) { + if ((flags & SP_OBJECT_WRITE_BUILD & SP_OBJECT_WRITE_EXT) && !repr) { // this is where we end up when saving as plain SVG (also in other circumstances?); // hence we don't set the sodipodi:type attribute Inkscape::XML::Document *xml_doc = sp_document_repr_doc(SP_OBJECT_DOCUMENT(object)); -- 2.30.2