diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-05-18 08:38:35 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-05-18 08:38:35 +0000 |
| commit | 9291d4e3a3ad22bef4669b74568ee6d43ba74547 (patch) | |
| tree | 2153eb66cf6f3b7e5f61526d63ad77fadfd195fd /src/ui/tool/path-manipulator.cpp | |
| parent | Icons updated to the trunk (diff) | |
| download | inkscape-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.cpp | 2 |
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()); |
