summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-fillet-chamfer.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-02-28 12:13:49 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-02-28 12:13:49 +0000
commit43c5af94d24cd408f7b369545e96cf9192f6ba90 (patch)
treee8fca10d38d579e1a57def4361fd2a56b406b5c6 /src/live_effects/lpe-fillet-chamfer.cpp
parentupdate to trunk (diff)
downloadinkscape-43c5af94d24cd408f7b369545e96cf9192f6ba90.tar.gz
inkscape-43c5af94d24cd408f7b369545e96cf9192f6ba90.zip
improving code
(bzr r13645.1.24)
Diffstat (limited to 'src/live_effects/lpe-fillet-chamfer.cpp')
-rw-r--r--src/live_effects/lpe-fillet-chamfer.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp
index 2354aa5ed..39acdca80 100644
--- a/src/live_effects/lpe-fillet-chamfer.cpp
+++ b/src/live_effects/lpe-fillet-chamfer.cpp
@@ -16,6 +16,7 @@
#include "live_effects/lpe-fillet-chamfer.h"
+#include "live_effects/lpeobject.h"
#include <sp-shape.h>
#include <sp-path.h>
#include <2geom/pointwise.h>
@@ -120,15 +121,6 @@ void LPEFilletChamfer::doOnApply(SPLPEItem const *lpeItem)
void LPEFilletChamfer::doBeforeEffect(SPLPEItem const *lpeItem)
{
SPLPEItem * splpeitem = const_cast<SPLPEItem *>(lpeItem);
- if (splpeitem) {
- // This writes all parameters to SVG. Is this sufficiently efficient or should we only
- // write the ones that were changed?
- Inkscape::LivePathEffect::Effect *lpe = splpeitem->getCurrentLPE();
- if (lpe) {
- LivePathEffectObject *lpeobj = lpe->getLPEObj();
- lpeobj->updateRepr();
- }
- }
SPShape * shape = dynamic_cast<SPShape *>(splpeitem);
if (shape) {
SPCurve *c = shape->getCurve();