summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-05-18 08:38:35 +0000
committerJabiertxo Arraiza Zenotz <jtx@jtx.marker.es>2013-05-18 08:38:35 +0000
commit9291d4e3a3ad22bef4669b74568ee6d43ba74547 (patch)
tree2153eb66cf6f3b7e5f61526d63ad77fadfd195fd /src/ui/tool/path-manipulator.cpp
parentIcons updated to the trunk (diff)
downloadinkscape-9291d4e3a3ad22bef4669b74568ee6d43ba74547.tar.gz
inkscape-9291d4e3a3ad22bef4669b74568ee6d43ba74547.zip
Fix error with envelope lpe
(bzr r11950.1.117)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 7785dd685..eb60abe2a 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -152,7 +152,7 @@ PathManipulator::PathManipulator(MultiPathManipulator &mpm, SPPath *path,
_createControlPointsFromGeometry();
//BSpline
lpe_bsp = NULL;
- if (SP_LPE_ITEM(_path) && sp_lpe_item_has_path_effect(SP_LPE_ITEM(_path))){
+ if (SP_IS_LPE_ITEM(_path) && sp_lpe_item_has_path_effect(SP_LPE_ITEM(_path))){
Inkscape::LivePathEffect::Effect* thisEffect = sp_lpe_item_has_path_effect_of_type(SP_LPE_ITEM(_path),Inkscape::LivePathEffect::BSPLINE);
if(thisEffect){
lpe_bsp = dynamic_cast<LivePathEffect::LPEBSpline*>(thisEffect->getLPEObj()->get_lpe());