summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-08-25 11:48:02 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-08-25 11:48:02 +0000
commit6d0ce49991a442e7e3f26c3922c26e54d927dd93 (patch)
treeb0c7a1ea8f6c6be4c4c4ef0761ae17b6f3900558 /src/live_effects
parentaddes cache and log to a function, result of the test, no diference so remove... (diff)
downloadinkscape-6d0ce49991a442e7e3f26c3922c26e54d927dd93.tar.gz
inkscape-6d0ce49991a442e7e3f26c3922c26e54d927dd93.zip
Removed cache work :(
(bzr r13645.1.113)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp8
-rw-r--r--src/live_effects/lpe-fillet-chamfer.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index a83c7bbd5..4c325b7fa 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -55,7 +55,6 @@ LPEFilletChamfer::LPEFilletChamfer(LivePathEffectObject *lpeobject)
"ignore_radius_0", &wr, this, false),
helper_size(_("Helper size with direction:"),
_("Helper size with direction"), "helper_size", &wr, this, 0),
- cache(_("Cache size:"),_("Cache size"), "cache_size", &wr, this, 3),
pointwise(NULL)
{
registerParameter(&satellites_param);
@@ -69,7 +68,6 @@ LPEFilletChamfer::LPEFilletChamfer(LivePathEffectObject *lpeobject)
registerParameter(&ignore_radius_0);
registerParameter(&only_selected);
registerParameter(&hide_knots);
- registerParameter(&cache);
radius.param_set_range(0.0, Geom::infinity());
radius.param_set_increments(1, 1);
@@ -80,9 +78,6 @@ LPEFilletChamfer::LPEFilletChamfer(LivePathEffectObject *lpeobject)
helper_size.param_set_range(0, 999);
helper_size.param_set_increments(5, 5);
helper_size.param_set_digits(0);
- cache.param_set_range(0, 999);
- cache.param_set_increments(1, 1);
- cache.param_set_digits(0);
}
void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem)
@@ -382,10 +377,7 @@ void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
} else {
satellites_param.setHelperSize(helper_size);
}
- Geom::Curve const &first_curve = pathv.curveAt(0);
size_t number_curves = pathv.curveCount();
- //Activete cache
- timeAtArcLength(1, first_curve, number_curves * cache);
for (std::vector<Satellite>::iterator it = sats.begin();
it != sats.end();) {
if (it->is_time != flexible) {
diff --git a/src/live_effects/lpe-fillet-chamfer.h b/src/live_effects/lpe-fillet-chamfer.h
index 9c58ab66c..804709342 100644
--- a/src/live_effects/lpe-fillet-chamfer.h
+++ b/src/live_effects/lpe-fillet-chamfer.h
@@ -58,7 +58,6 @@ private:
BoolParam hide_knots;
BoolParam ignore_radius_0;
ScalarParam helper_size;
- ScalarParam cache;
Pointwise *pointwise;
Geom::PathVector _hp;