summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-10 14:09:49 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-10 14:09:49 +0000
commit4d1ce2acd0f2274d1dc88bccabac1bf637053da5 (patch)
tree3d6417faadfe7471989bce76446228a2fb468edb /src
parentMake broken doOnApply() for LPEs work again (diff)
downloadinkscape-4d1ce2acd0f2274d1dc88bccabac1bf637053da5.tar.gz
inkscape-4d1ce2acd0f2274d1dc88bccabac1bf637053da5.zip
Don't convert path to straight line for LPE perpendicular bisector
(bzr r5873)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-perp_bisector.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/live_effects/lpe-perp_bisector.cpp b/src/live_effects/lpe-perp_bisector.cpp
index a7963ce7b..7f63c25fa 100644
--- a/src/live_effects/lpe-perp_bisector.cpp
+++ b/src/live_effects/lpe-perp_bisector.cpp
@@ -179,6 +179,7 @@ void
LPEPerpBisector::doOnApply (SPLPEItem *lpeitem)
{
/* make the path a straight line */
+ /**
SPCurve* curve = sp_path_get_curve_for_edit (SP_PATH(lpeitem)); // TODO: Should we use sp_shape_get_curve()?
Geom::Point A((curve->first_point()).to_2geom());
@@ -190,6 +191,7 @@ LPEPerpBisector::doOnApply (SPLPEItem *lpeitem)
// TODO: Why doesn't sp_path_set_original_curve(SP_PATH(lpeitem), c, TRUE, true) work?
SP_PATH(lpeitem)->original_curve = c->ref();
c->unref();
+ **/
}