summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-path_length.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-09-13 16:51:16 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-09-13 16:51:16 +0000
commit7b4d58faf59da2981349ebfacdbcdd64fc05f228 (patch)
tree59cec14d5c71b8942eb942e704c76e6577b946e8 /src/live_effects/lpe-path_length.cpp
parentAdd option to align & distribute dialog to treat the selection as a group (cl... (diff)
downloadinkscape-7b4d58faf59da2981349ebfacdbcdd64fc05f228.tar.gz
inkscape-7b4d58faf59da2981349ebfacdbcdd64fc05f228.zip
Hide canvas text, too, when lpe-path-length is invisible
(bzr r6801)
Diffstat (limited to 'src/live_effects/lpe-path_length.cpp')
-rw-r--r--src/live_effects/lpe-path_length.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/live_effects/lpe-path_length.cpp b/src/live_effects/lpe-path_length.cpp
index 3b9b07c82..5ecf2ffa2 100644
--- a/src/live_effects/lpe-path_length.cpp
+++ b/src/live_effects/lpe-path_length.cpp
@@ -34,6 +34,12 @@ LPEPathLength::~LPEPathLength()
}
+bool
+LPEPathLength::hideCanvasText() {
+ // this is only used in sp-lpe-item.cpp to hide the canvas text when the effect is invisible
+ info_text.param_setValue("");
+}
+
Geom::Piecewise<Geom::D2<Geom::SBasis> >
LPEPathLength::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in)
{