summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perspective-envelope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-perspective-envelope.cpp')
-rw-r--r--src/live_effects/lpe-perspective-envelope.cpp16
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