diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-10-08 00:03:08 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-10-08 00:03:08 +0000 |
| commit | e64d416e42f8361036d9a31dff5b646810f69e97 (patch) | |
| tree | 872f0e21139e797f1988e1b8383f6f3458a620bc /src | |
| parent | Remove unnecesary header from last push (diff) | |
| download | inkscape-e64d416e42f8361036d9a31dff5b646810f69e97.tar.gz inkscape-e64d416e42f8361036d9a31dff5b646810f69e97.zip | |
Fix bug:1622321 on powerstroke
Fixed bugs:
- https://launchpad.net/bugs/1622321
(bzr r15154)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-powerstroke.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/live_effects/lpe-powerstroke.cpp b/src/live_effects/lpe-powerstroke.cpp index 0de668847..329a00756 100644 --- a/src/live_effects/lpe-powerstroke.cpp +++ b/src/live_effects/lpe-powerstroke.cpp @@ -609,11 +609,12 @@ LPEPowerStroke::doEffect_path (Geom::PathVector const & path_in) // find time values for which x lies outside path domain // and only take portion of x and y that lies within those time values std::vector< double > rtsmin = roots (x - pwd2_in.domain().min()); - std::vector< double > rtsmax = roots (x - pwd2_in.domain().max()); + std::vector< double > rtsmax = roots (x + pwd2_in.domain().max()); if ( !rtsmin.empty() && !rtsmax.empty() ) { x = portion(x, rtsmin.at(0), rtsmax.at(0)); y = portion(y, rtsmin.at(0), rtsmax.at(0)); } + LineJoinType jointype = static_cast<LineJoinType>(linejoin_type.get_value()); Piecewise<D2<SBasis> > pwd2_out = compose(pwd2_in,x) + y*compose(n,x); |
