summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-fillet-chamfer.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-04-01 10:08:06 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-04-01 10:08:06 +0000
commitce42be89c9b32edeba6eda6522199ec749e014f8 (patch)
tree975c7d6a213368996d9b88dbb2e7830fae77873a /src/live_effects/lpe-fillet-chamfer.cpp
parentMove 2Geom work to a intermediate positon -helper- (diff)
downloadinkscape-ce42be89c9b32edeba6eda6522199ec749e014f8.tar.gz
inkscape-ce42be89c9b32edeba6eda6522199ec749e014f8.zip
More cleanup of code structure.
TODO: Documentation TODO: Fit code guidelines of Inkscape (bzr r13645.1.64)
Diffstat (limited to 'src/live_effects/lpe-fillet-chamfer.cpp')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 54b2fb52f..e873bebf9 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -400,12 +400,9 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
if(pointwise && c->get_segment_count() != segCount && segCount != 0){
pointwise->recalculate_for_new_pwd2(pwd2_in);
- pointwise->set_extremes(false, true, 0.0, 0.0);
segCount = c->get_segment_count();
} else {
pointwise = new Pointwise(pwd2_in, sats);
- //mandatory call
- pointwise->set_extremes(false, true);
segCount = c->get_segment_count();
}
satellitearrayparam_values.set_pointwise(pointwise);
@@ -422,7 +419,6 @@ LPEFilletChamfer::adjustForNewPath(std::vector<Geom::Path> const &path_in)
{
if (!path_in.empty() && pointwise) {
pointwise->recalculate_for_new_pwd2(remove_short_cuts(paths_to_pw(pathv_to_linear_and_cubic_beziers(path_in)),0.01));
- pointwise->set_extremes(false, true, 0.0, 0.0);
satellitearrayparam_values.set_pointwise(pointwise);
}
}