diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-02-13 20:06:36 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-02-13 20:06:36 +0000 |
| commit | c8ec8ac8c5a3665adf39b1a939404027395ace0e (patch) | |
| tree | 9c53b646d227da2a44460fb13d6016843049f7f7 /src/ui/tool/path-manipulator.cpp | |
| parent | calligraphy tool does not need to know the type of the end curves to add the ... (diff) | |
| download | inkscape-c8ec8ac8c5a3665adf39b1a939404027395ace0e.tar.gz inkscape-c8ec8ac8c5a3665adf39b1a939404027395ace0e.zip | |
update to latest 2geom. fixes bezier curve casts.
(bzr r10050)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
| -rw-r--r-- | src/ui/tool/path-manipulator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 0e5705ee4..1e0dc85a4 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -894,7 +894,7 @@ NodeList::iterator PathManipulator::subdivideSegment(NodeList::iterator first, d // build bezier curve and subdivide Geom::CubicBezier temp(first->position(), first->front()->position(), second->back()->position(), second->position()); - std::pair<Geom::BezierCurve, Geom::BezierCurve> div = temp.subdivide(t); + std::pair<Geom::CubicBezier, Geom::CubicBezier> div = temp.subdivide(t); std::vector<Geom::Point> seg1 = div.first.points(), seg2 = div.second.points(); // set new handle positions |
