diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-05-07 06:04:07 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-05-07 06:04:07 +0000 |
| commit | f8b4967603183e4ef3573a5516fe33cf3b8ef14e (patch) | |
| tree | d35c4ee86b09a164f39aec31969c880b11e7952b /src | |
| parent | New icon - PNG & SVG versions. .ICO version coming soon as an appropriate all... (diff) | |
| download | inkscape-f8b4967603183e4ef3573a5516fe33cf3b8ef14e.tar.gz inkscape-f8b4967603183e4ef3573a5516fe33cf3b8ef14e.zip | |
remove the deactivate knotholder parameter
(bzr r7833)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/effect.cpp | 5 | ||||
| -rw-r--r-- | src/live_effects/effect.h | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 8991d78cb..a97a613b5 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -271,7 +271,6 @@ Effect::createAndApply(EffectType type, SPDocument *doc, SPItem *item) Effect::Effect(LivePathEffectObject *lpeobject) : oncanvasedit_it(0), is_visible(_("Is visible?"), _("If unchecked, the effect remains applied to the object but is temporarily disabled on canvas"), "is_visible", &wr, this, true), - deactivate_knotholder(_("Deactivate knotholder?"), _("Check this to deactivate knotholder handles (useful if they interfere with node handles during editing)"), "deactivate_knotholder", &wr, this, false), show_orig_path(false), lpeobj(lpeobject), concatenate_before_pwd2(false), @@ -279,7 +278,6 @@ Effect::Effect(LivePathEffectObject *lpeobject) is_ready(false) // is automatically set to false if providesOwnFlashPaths() is not overridden { registerParameter( dynamic_cast<Parameter *>(&is_visible) ); - registerParameter( dynamic_cast<Parameter *>(&deactivate_knotholder) ); } Effect::~Effect() @@ -470,9 +468,6 @@ void Effect::addHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item) { using namespace Inkscape::LivePathEffect; - if (deactivate_knotholder) - return; - // add handles provided by the effect itself addKnotHolderEntities(knotholder, desktop, item); diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 702036f14..6f195b176 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -149,9 +149,6 @@ protected: std::vector<std::pair<KnotHolderEntity*, const char*> > kh_entity_vector; int oncanvasedit_it; BoolParam is_visible; - BoolParam deactivate_knotholder; // the user can use this to deactivate knotholders (for - // convenience, because they may interfere with node handles - // during editing); this is probably only temporary bool show_orig_path; // set this to true in derived effects to automatically have the original // path displayed as helperpath |
