summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-gears.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-gears.cpp')
-rw-r--r--src/live_effects/lpe-gears.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/lpe-gears.cpp b/src/live_effects/lpe-gears.cpp
index 003e22567..d4d695542 100644
--- a/src/live_effects/lpe-gears.cpp
+++ b/src/live_effects/lpe-gears.cpp
@@ -168,7 +168,7 @@ Geom::Path Gear::path() {
D2<SBasis> root = _arc(cursor, cursor+root_advance, root_radius());
makeContinuous(root, prev);
pb.append(SBasisCurve(root));
- cursor += root_advance;
+ //cursor += root_advance;
prev = root.at1();
if (base_radius() > root_radius()) {
@@ -232,10 +232,10 @@ LPEGears::~LPEGears()
}
-std::vector<Geom::Path>
-LPEGears::doEffect_path (std::vector<Geom::Path> const & path_in)
+Geom::PathVector
+LPEGears::doEffect_path (Geom::PathVector const &path_in)
{
- std::vector<Geom::Path> path_out;
+ Geom::PathVector path_out;
Geom::Path gearpath = path_in[0];
Geom::Path::iterator it(gearpath.begin());