summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-07 07:29:04 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-07 07:29:04 +0000
commit4f85b77c45733b767817d0a3e83b45757fecc495 (patch)
treeaf8077c822a47729dd4a952733731bc4605aa887 /src/live_effects
parentBriefly document items in share directory (diff)
downloadinkscape-4f85b77c45733b767817d0a3e83b45757fecc495.tar.gz
inkscape-4f85b77c45733b767817d0a3e83b45757fecc495.zip
Erase rejected files
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp.rej41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp.rej b/src/live_effects/lpe-fillet-chamfer.cpp.rej
deleted file mode 100644
index 8a754993d..000000000
--- a/src/live_effects/lpe-fillet-chamfer.cpp.rej
+++ /dev/null
@@ -1,41 +0,0 @@
---- src/live_effects/lpe-fillet-chamfer.cpp
-+++ src/live_effects/lpe-fillet-chamfer.cpp
-@@ -338,11 +338,11 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
- doOnApply(lpeItem);
- satellites = satellites_param.data();
- }
-+ bool write = false;
- if (_pathvector_satellites) {
- size_t number_nodes = pathv.nodes().size();
- size_t previous_number_nodes = _pathvector_satellites->getTotalSatellites();
- if (number_nodes != previous_number_nodes) {
-- Satellites satellites;
- double power = radius;
- if (!flexible) {
- SPDocument * document = SP_ACTIVE_DOCUMENT;
-@@ -367,6 +367,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
- satellite.setHidden(hide_knots);
- _pathvector_satellites->recalculateForNewPathVector(pathv, satellite);
- satellites = _pathvector_satellites->getSatellites();
-+ write = true;
- }
- }
- if (_degenerate_hide) {
-@@ -410,7 +411,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
- }
- _pathvector_satellites->setPathVector(pathv);
- _pathvector_satellites->setSatellites(satellites);
-- satellites_param.setPathVectorSatellites(_pathvector_satellites, false);
-+ satellites_param.setPathVectorSatellites(_pathvector_satellites, write);
- refreshKnots();
- } else {
- g_warning("LPE Fillet can only be applied to shapes (not groups).");
-@@ -549,7 +550,7 @@ LPEFilletChamfer::doEffect_path(Geom::PathVector const &path_in)
- if (time1 == time0) {
- start_arc_point = curve_it1->pointAt(time0);
- }
-- if (time1 != 1) {
-+ if (time1 != 1 && !Geom::are_near(angle,Geom::rad_from_deg(360))) {
- if (time1 != time0 || (time1 == 1 && time0 == 1)) {
- if (!knot_curve_1->isDegenerate()) {
- tmp_path.append(*knot_curve_1);