summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-08 18:08:56 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-08 18:08:56 +0000
commit3febc6667be102e40bd4cf1f689bd8e82e5b0ec3 (patch)
tree841f53c095bc30f3d104b46519225f0a37d24de7 /src/live_effects/effect.h
parentBetter way to add LPE knotholder handles; now it happens semi-automatically i... (diff)
downloadinkscape-3febc6667be102e40bd4cf1f689bd8e82e5b0ec3.tar.gz
inkscape-3febc6667be102e40bd4cf1f689bd8e82e5b0ec3.zip
Re-add two handles for PerpBisector LPE (we don't add the other two because they would duplicate the path's own handles and the correct solution would be to allow knotholders and nodepaths at the same time).
Put the KnotHolderEntity classes into their own namespaces to avoid clashes. (bzr r5857)
Diffstat (limited to '')
-rw-r--r--src/live_effects/effect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index a990a858d..21d86f80a 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -101,7 +101,7 @@ public:
virtual void transform_multiply(Geom::Matrix const& postmul, bool set);
- virtual bool providesKnotholder() { return false; }
+ bool providesKnotholder() { return (kh_entity_vector.size() > 0); }
void addHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
Glib::ustring getName();