diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-09-30 15:58:15 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-09-30 15:58:15 +0000 |
| commit | 514675a4b3eeb5835ad2466b692b3d00c6333c4a (patch) | |
| tree | 1573d112562158ae4a2c747927cb51515795b200 /src/ui/tool/path-manipulator.cpp | |
| parent | Update to trunk (diff) | |
| download | inkscape-514675a4b3eeb5835ad2466b692b3d00c6333c4a.tar.gz inkscape-514675a4b3eeb5835ad2466b692b3d00c6333c4a.zip | |
Fixed a bug editing paths in others LPE -envelope-
(bzr r11950.1.157)
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 3690efdad..910f75258 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1312,7 +1312,7 @@ void PathManipulator::_createGeometryFromControlPoints(bool alert_LPE) Geom::PathVector pathv = builder.peek() * (_edit_transform * _i2d_transform).inverse(); _spcurve->set_pathvector(pathv); if (alert_LPE) { - if (_path->hasPathEffect()) { + if (SP_IS_LPE_ITEM(_path) && _path->hasPathEffect()) { PathEffectList effect_list = sp_lpe_item_get_effect_list(_path); LivePathEffect::LPEPowerStroke *lpe_pwr = dynamic_cast<LivePathEffect::LPEPowerStroke*>( effect_list.front()->lpeobject->get_lpe() ); if (lpe_pwr) { |
