From: cilix42 Date: Sun, 17 Feb 2008 18:13:23 +0000 (+0000) Subject: Don't store perspectives in plain SVG X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a46424e0405b8e0eb958a49328effd2327660e4e;p=inkscape.git Don't store perspectives in plain SVG --- 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));