summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-01-03 16:43:32 +0000
committerjabiertxof <info@marker.es>2017-01-03 16:43:32 +0000
commit4943de681c1bdd831b828beab9ceb1f31f58b60a (patch)
tree51cec3476ea1dc50b326837270f0f0ade457bdde /src
parentFixing some bugs (diff)
downloadinkscape-4943de681c1bdd831b828beab9ceb1f31f58b60a.tar.gz
inkscape-4943de681c1bdd831b828beab9ceb1f31f58b60a.zip
Fixing broken things
(bzr r15295.1.49)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-mirror_symmetry.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/live_effects/lpe-mirror_symmetry.cpp b/src/live_effects/lpe-mirror_symmetry.cpp
index 05380c568..576c7df5e 100644
--- a/src/live_effects/lpe-mirror_symmetry.cpp
+++ b/src/live_effects/lpe-mirror_symmetry.cpp
@@ -448,16 +448,6 @@ Geom::PathVector
LPEMirrorSymmetry::doEffect_path (Geom::PathVector const & path_in)
{
if (split_elements && !fuse_paths) {
- if (SP_IS_SHAPE(sp_lpe_item)) {
- SPCurve *c = NULL;
- if (!path_in.empty()) {
- c->set_pathvector(path_in);
- if (c) {
- SP_SHAPE(sp_lpe_item)->setCurveInsync(c, TRUE);
- c->unref();
- }
- }
- }
return path_in;
}
Geom::PathVector const original_pathv = pathv_to_linear_and_cubic_beziers(path_in);
@@ -592,12 +582,6 @@ LPEMirrorSymmetry::doEffect_path (Geom::PathVector const & path_in)
}
}
}
-// if (cs.size()!=0 && position == 0) {
-// if (split_elements && original.closed()) {
-// tmp_path.appendNew<Geom::LineSegment>( tmp_path.initialPoint() );
-// tmp_path.close();
-// }
-// }
if (cs.size() == 0 && position == 1) {
tmp_pathvector.push_back(original);
if ( !split_elements) {
@@ -620,16 +604,6 @@ LPEMirrorSymmetry::doEffect_path (Geom::PathVector const & path_in)
path_out.push_back(original_pathv[i] * m);
}
}
-// if (SP_IS_SHAPE(sp_lpe_item)) {
-// SPCurve *c = NULL;
-// if (!path_out.empty()) {
-// c->set_pathvector(path_out);
-// if (c) {
-// SP_SHAPE(sp_lpe_item)->setCurve(c, TRUE);
-// c->unref();
-// }
-// }
-// }
return path_out;
}