summaryrefslogtreecommitdiffstats
path: root/src/selection-describer.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-14 14:51:56 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-14 14:51:56 +0000
commit01616ad9d6084dc6ef4fc14622b018ee582431d2 (patch)
tree18b19bc71561e666249d6c0021e2700561fa9909 /src/selection-describer.cpp
parentFilter effects dialog: (diff)
downloadinkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.tar.gz
inkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.zip
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)
Diffstat (limited to 'src/selection-describer.cpp')
-rw-r--r--src/selection-describer.cpp3
1 files changed, 3 insertions, 0 deletions
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".