From 01616ad9d6084dc6ef4fc14622b018ee582431d2 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sat, 14 Jul 2007 14:51:56 +0000 Subject: Write distinguished corners of 3D boxes to the svg representation from which the box can be recomputed. This is used to fix several bugs related to the editing of boxes resulting from cloning, undo operations or newly opened documents (we had stray pointers to SPPaths before that made Inkscape crash). (bzr r3239) --- src/selection-describer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/selection-describer.cpp') diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index 69e10904f..01aab97b7 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -24,6 +24,7 @@ #include "sp-flowtext.h" #include "sp-use.h" #include "sp-rect.h" +#include "box3d.h" #include "sp-ellipse.h" #include "sp-star.h" #include "sp-anchor.h" @@ -59,6 +60,8 @@ type2term(GType type) { return _("Polyline"); } if (type == SP_TYPE_RECT) { return _("Rectangle"); } + if (type == SP_TYPE_3DBOX) + { return _("3D Box"); } if (type == SP_TYPE_TEXT) { return _("Text"); } // TRANSLATORS: only translate "string" in "context|string". -- cgit v1.2.3