From 3febc6667be102e40bd4cf1f689bd8e82e5b0ec3 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sun, 8 Jun 2008 18:08:56 +0000 Subject: 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) --- src/live_effects/effect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live_effects/effect.h') 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(); -- cgit v1.2.3