summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-04-06 15:59:57 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-04-06 15:59:57 +0000
commitc6457829dc2711fca07f5f27ecc597dc4f932929 (patch)
tree04a4eb7e13f235301964bd41773f0eb4a0d338bc /src
parentupdate to trunk (diff)
downloadinkscape-c6457829dc2711fca07f5f27ecc597dc4f932929.tar.gz
inkscape-c6457829dc2711fca07f5f27ecc597dc4f932929.zip
fixing bug on closed paths
(bzr r13645.1.76)
Diffstat (limited to 'src')
-rw-r--r--src/helper/geom-pathinfo.cpp2
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/helper/geom-pathinfo.cpp b/src/helper/geom-pathinfo.cpp
index 99ca3c8aa..a37c0e475 100644
--- a/src/helper/geom-pathinfo.cpp
+++ b/src/helper/geom-pathinfo.cpp
@@ -45,7 +45,7 @@ void Pathinfo::setPathVector(Geom::PathVector path_vector, bool skip_degenerate)
void Pathinfo::_setPathInfo(Piecewise<D2<SBasis> > pwd2)
{
- _setPathInfo(path_from_piecewise(remove_short_cuts(pwd2, 0.1), 0.001), true);
+ _setPathInfo(path_from_piecewise(remove_short_cuts(pwd2, 0.1), 0.001));
}
/** Store the base path data
*/
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 6cc9062d9..ac877c792 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -427,6 +427,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
++it;
}
if (pointwise && c->get_segment_count() != sats.size()) {
+ std::cout << "recalculta\n";
pointwise->recalculateForNewPwd2(pwd2_in, original_pathv);
} else {
pointwise = new Pointwise(pwd2_in, sats);