diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-03-14 11:37:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-03-14 11:37:42 +0000 |
| commit | eb041b9a00e42b585bac8fec8cbcb0650d058703 (patch) | |
| tree | fa6bb6388a318c776ad1268011f234b38d50295a /src/live_effects/lpe-perspective-envelope.cpp | |
| parent | Translations. Catalan translation update. (diff) | |
| download | inkscape-eb041b9a00e42b585bac8fec8cbcb0650d058703.tar.gz inkscape-eb041b9a00e42b585bac8fec8cbcb0650d058703.zip | |
Remove 'Active Desktop' calls from Perspective/Envelope and Lattice2 LPE, added auto refresh knots position in point parameters when updated programaticaly
(bzr r14003)
Diffstat (limited to 'src/live_effects/lpe-perspective-envelope.cpp')
| -rw-r--r-- | src/live_effects/lpe-perspective-envelope.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/live_effects/lpe-perspective-envelope.cpp b/src/live_effects/lpe-perspective-envelope.cpp index f355fa683..d60a13c23 100644 --- a/src/live_effects/lpe-perspective-envelope.cpp +++ b/src/live_effects/lpe-perspective-envelope.cpp @@ -20,9 +20,6 @@ #include "display/curve.h" #include "svg/svg.h" #include <gsl/gsl_linalg.h> -#include "ui/tools-switch.h" - -#include "desktop.h" // TODO: should be factored out (see below) using namespace Geom; @@ -336,19 +333,6 @@ LPEPerspectiveEnvelope::resetGrid() Up_Right_Point.param_set_default(); Down_Right_Point.param_set_default(); Down_Left_Point.param_set_default(); - /*todo:this hack is only to reposition the knots on reser grid button - Better update path effect in LPEITEM - if(sp_lpe_item){ - sp_lpe_item_update_patheffect(sp_lpe_item, true, true); - SPGroup *group = dynamic_cast<SPGroup *>(sp_lpe_item); - if(group){ - group->requestModified(SP_OBJECT_MODIFIED_FLAG); - } - } - */ - SPDesktop * desktop = SP_ACTIVE_DESKTOP; - tools_switch(desktop, TOOLS_SELECT); - tools_switch(desktop, TOOLS_NODES); } void |
