diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-09-27 10:21:37 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-09-27 10:21:37 +0000 |
| commit | debe6f792f37d4ca3acb297eea230503cc3522a4 (patch) | |
| tree | b4d783ba389b4dbfc26d129dddbea16a49e2c441 /src/ui/tool/path-manipulator.cpp | |
| parent | error bend lpe (diff) | |
| download | inkscape-debe6f792f37d4ca3acb297eea230503cc3522a4.tar.gz inkscape-debe6f792f37d4ca3acb297eea230503cc3522a4.zip | |
Fix editing paths in live effect
(bzr r11950.1.154)
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 1add4d176..3690efdad 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -153,7 +153,7 @@ PathManipulator::PathManipulator(MultiPathManipulator &mpm, SPPath *path, //BSpline lpe_bsp = NULL; - if (_path->hasPathEffect()){ + if (SP_IS_LPE_ITEM(_path) && _path->hasPathEffect()){ Inkscape::LivePathEffect::Effect* thisEffect = SP_LPE_ITEM(_path)->getPathEffectOfType(Inkscape::LivePathEffect::BSPLINE); if(thisEffect){ lpe_bsp = dynamic_cast<LivePathEffect::LPEBSpline*>(thisEffect->getLPEObj()->get_lpe()); |
