diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-03-18 17:34:07 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-03-18 17:34:07 +0000 |
| commit | ae7a4f0320d820a6183dde933fba576bc2c9f58f (patch) | |
| tree | 65a66cab92d156c7015b0f5629d2e52df7459f28 /src/live_effects/parameter/path.cpp | |
| parent | Fix writing of 'x' and 'y' attributes in multiline text via sodipode:role="li... (diff) | |
| download | inkscape-ae7a4f0320d820a6183dde933fba576bc2c9f58f.tar.gz inkscape-ae7a4f0320d820a6183dde933fba576bc2c9f58f.zip | |
Bug #1419517 Fix Crash when applying new path effect after deleting pattern of Pattern-along-path LPE
Fixed bugs:
- https://launchpad.net/bugs/1419517
(bzr r14717)
Diffstat (limited to 'src/live_effects/parameter/path.cpp')
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index e0369e662..7ea1d465c 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -294,7 +294,12 @@ void PathParam::set_new_value (Geom::PathVector const &newpath, bool write_to_svg) { remove_link(); - _pathvector = newpath; + if (newpath.empty()) { + param_set_and_write_default(); + return; + } else { + _pathvector = newpath; + } must_recalculate_pwd2 = true; if (write_to_svg) { |
