diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-03-19 00:14:03 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2016-03-19 00:14:03 +0000 |
| commit | 04a8c5b6ee2cbadf792295bbdb4048369103f32c (patch) | |
| tree | b72051b7eea37526fb9428e822de28365a0c217e /src/live_effects/parameter/path.cpp | |
| parent | Fix more Krzysztof comments on merge proposal, temporary disable LPE on clip ... (diff) | |
| parent | Remove code of a semifixed bug (diff) | |
| download | inkscape-04a8c5b6ee2cbadf792295bbdb4048369103f32c.tar.gz inkscape-04a8c5b6ee2cbadf792295bbdb4048369103f32c.zip | |
update to trunk
(bzr r13708.1.45)
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) { |
