summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-lattice2.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-02 00:19:42 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-02 00:19:42 +0000
commitc3cf3749afd1dddde094e4e1cf5e6c3285c03261 (patch)
tree9735a7e7876dadd3ac976bd2e7349536767d198e /src/live_effects/lpe-lattice2.cpp
parentFix a bug in perspective/envelope LPE, rendering points -handles- outside bou... (diff)
downloadinkscape-c3cf3749afd1dddde094e4e1cf5e6c3285c03261.tar.gz
inkscape-c3cf3749afd1dddde094e4e1cf5e6c3285c03261.zip
Change calls to desktop with SP_ACTIVE_DESKTOP
(bzr r13656)
Diffstat (limited to 'src/live_effects/lpe-lattice2.cpp')
-rw-r--r--src/live_effects/lpe-lattice2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-lattice2.cpp b/src/live_effects/lpe-lattice2.cpp
index 8fadd79ed..e1cd91340 100644
--- a/src/live_effects/lpe-lattice2.cpp
+++ b/src/live_effects/lpe-lattice2.cpp
@@ -394,7 +394,7 @@ LPELattice2::resetGrid()
grid_point32x33x34x35.param_set_and_write_default();
//todo:this hack is only to reposition the knots on reser grid button
//Better update path effect in LPEITEM
- SPDesktop * desktop = inkscape_active_desktop();
+ SPDesktop * desktop = SP_ACTIVE_DESKTOP;
tools_switch(desktop, TOOLS_SELECT);
tools_switch(desktop, TOOLS_NODES);
}