summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f32283)
raw | patch | inline | side by side (parent: 3f32283)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 7 May 2009 06:04:07 +0000 (06:04 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 7 May 2009 06:04:07 +0000 (06:04 +0000) |
src/live_effects/effect.cpp | patch | blob | history | |
src/live_effects/effect.h | patch | blob | history |
index 8991d78cbf3af64553b8901c372bc6ff183028d2..a97a613b5e2126b7c92e4289b6cff8b8fa43e42d 100644 (file)
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),
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()
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);
index 702036f14c7d54a3634ad0c037d793757a15e0bb..6f195b176f3c2aa9d07fda335519789b081c12c9 100644 (file)
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