summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-04 23:36:25 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-04 23:36:25 +0000
commitbe2f7a2520b6aceca598afbaa16ed0b5971b48c0 (patch)
treec31cbb674aaa46cb589be00c7f0062aa09faffbd /src/object-snapper.cpp
parent2geomify calculation of number of markers on a path (diff)
downloadinkscape-be2f7a2520b6aceca598afbaa16ed0b5971b48c0.tar.gz
inkscape-be2f7a2520b6aceca598afbaa16ed0b5971b48c0.zip
create pathvector_for_curve method.
(bzr r6160)
Diffstat (limited to 'src/object-snapper.cpp')
-rw-r--r--src/object-snapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 88e709b7f..ef6c5fce2 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -320,7 +320,7 @@ void Inkscape::ObjectSnapper::_collectPaths(Inkscape::Snapper::PointType const &
if (!very_lenghty_prose && !very_complex_path) {
SPCurve *curve = curve_for_item(root_item);
if (curve) {
- NArtBpath *bpath = bpath_for_curve(root_item, curve, true, true);
+ NArtBpath *bpath = bpath_for_curve(root_item, curve, true, true); // perhaps for speed, get a reference to the Geom::pathvector, and store the transformation besides it. apply transformation on the snap points, instead of generating whole new path
_bpaths_to_snap_to->push_back(bpath); // we will get a dupe of the path, which must be freed at some point
curve->unref();
}