From 4d1ce2acd0f2274d1dc88bccabac1bf637053da5 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Tue, 10 Jun 2008 14:09:49 +0000 Subject: Don't convert path to straight line for LPE perpendicular bisector (bzr r5873) --- src/live_effects/lpe-perp_bisector.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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(); + **/ } -- cgit v1.2.3