diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-08 18:08:56 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-08 18:08:56 +0000 |
| commit | 3febc6667be102e40bd4cf1f689bd8e82e5b0ec3 (patch) | |
| tree | 841f53c095bc30f3d104b46519225f0a37d24de7 /src/live_effects/effect.h | |
| parent | Better way to add LPE knotholder handles; now it happens semi-automatically i... (diff) | |
| download | inkscape-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.h | 2 |
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(); |
