Code

Don't convert path to straight line for LPE perpendicular bisector
authorcilix42 <cilix42@users.sourceforge.net>
Tue, 10 Jun 2008 14:09:49 +0000 (14:09 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Tue, 10 Jun 2008 14:09:49 +0000 (14:09 +0000)
src/live_effects/lpe-perp_bisector.cpp

index a7963ce7b136946906145726595e105dcadc255e..7f63c25fab31dfeb1927e25a9c86bbdbfcf6d1ea 100644 (file)
@@ -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();
+    **/
 }