summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aafa54d)
raw | patch | inline | side by side (parent: aafa54d)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 10 Jun 2008 14:10:01 +0000 (14:10 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 10 Jun 2008 14:10:01 +0000 (14:10 +0000) |
src/live_effects/lpe-tangent_to_curve.cpp | patch | blob | history |
index 2115e9d7ef1cd14fc27762e7952cb98897fc9bf1..b46b602c3bbdc15e953e6d6cf42c652d8f053450 100644 (file)
// FIXME: There must be a better way of converting the path's SPCurve* to pwd2.
SPCurve *curve = sp_path_get_curve_for_edit (SP_PATH(item));
- const NArtBpath *bpath = curve->get_bpath();
+ Geom::PathVector pathv = curve->get_pathvector();
Piecewise<D2<SBasis> > pwd2;
- std::vector<Geom::Path> pathv = BPath_to_2GeomPath(bpath);
for (unsigned int i=0; i < pathv.size(); i++) {
pwd2.concat(pathv[i].toPwSb());
}
lpe->t_attach.param_set_value(t0);
// FIXME: this should not directly ask for updating the item. It should write to SVG, which triggers updating.
- sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), true, true);
+ sp_lpe_item_update_patheffect (SP_LPE_ITEM(item), false, true);
}
void