summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-recursiveskeleton.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2013-03-13 17:30:15 +0000
committerKris <Kris.De.Gussem@hotmail.com>2013-03-13 17:30:15 +0000
commit816331ffe13fafc75693c455ca7018fa841fcfab (patch)
treee76e6f7ab0fe789fc0fc715a83c963029af2c928 /src/live_effects/lpe-recursiveskeleton.cpp
parentGTK3: fix layout of 'Fill and Stroke' tabs (see bug #1088264) (diff)
downloadinkscape-816331ffe13fafc75693c455ca7018fa841fcfab.tar.gz
inkscape-816331ffe13fafc75693c455ca7018fa841fcfab.zip
cppcheck
(bzr r12201)
Diffstat (limited to 'src/live_effects/lpe-recursiveskeleton.cpp')
-rw-r--r--src/live_effects/lpe-recursiveskeleton.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/live_effects/lpe-recursiveskeleton.cpp b/src/live_effects/lpe-recursiveskeleton.cpp
index 906c430c1..452139344 100644
--- a/src/live_effects/lpe-recursiveskeleton.cpp
+++ b/src/live_effects/lpe-recursiveskeleton.cpp
@@ -49,8 +49,6 @@ LPERecursiveSkeleton::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > co
using namespace Geom;
Piecewise<D2<SBasis> > output;
- std::vector<Piecewise<D2<SBasis> > > pre_output;
-
double prop_scale = 1.0;
D2<Piecewise<SBasis> > patternd2 = make_cuts_independent(pwd2_in);
@@ -90,8 +88,7 @@ LPERecursiveSkeleton::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > co
Piecewise<D2<SBasis> > n = rot90(derivative(uskeleton));
n = force_continuity(remove_short_cuts(n,.1));
- double scaling = 1;
- scaling = (uskeleton.domain().extent() - toffset)/pattBndsX->extent();
+ double scaling = (uskeleton.domain().extent() - toffset)/pattBndsX->extent();
// TODO investigate why pattWidth is not being used:
double pattWidth = pattBndsX->extent() * scaling;