summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-perspective-envelope.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-perspective-envelope.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-perspective-envelope.cpp')
-rw-r--r--src/live_effects/lpe-perspective-envelope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-perspective-envelope.cpp b/src/live_effects/lpe-perspective-envelope.cpp
index 0e620bc99..b5ef26e2f 100644
--- a/src/live_effects/lpe-perspective-envelope.cpp
+++ b/src/live_effects/lpe-perspective-envelope.cpp
@@ -337,7 +337,7 @@ LPEPerspectiveEnvelope::resetGrid()
Down_Left_Point.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);
}