summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-08-04 16:19:41 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-08-04 16:19:41 +0000
commit63b2f0cd146c1abbb9c93977273f2b3cf457d8a4 (patch)
tree4b623f8e0bd6dd0f76ee0750eed42990cc362112 /src/object-snapper.cpp
parentFixed some redraw problems moving nodes in bspline mode (diff)
parentAllow editing of fill and stroke patterns simultaneously. Fixes #601336, #604... (diff)
downloadinkscape-63b2f0cd146c1abbb9c93977273f2b3cf457d8a4.tar.gz
inkscape-63b2f0cd146c1abbb9c93977273f2b3cf457d8a4.zip
Update to trunk r13489
(bzr r13341.1.116)
Diffstat (limited to 'src/object-snapper.cpp')
-rw-r--r--src/object-snapper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp
index 3b8956bc8..0f7aa6368 100644
--- a/src/object-snapper.cpp
+++ b/src/object-snapper.cpp
@@ -147,6 +147,10 @@ void Inkscape::ObjectSnapper::_findCandidates(SPObject* parent,
// For debugging: print the id of the candidate to the console
// SPObject *obj = (SPObject*)item;
// std::cout << "Snap candidate added: " << obj->getId() << std::endl;
+ if (_candidates->size() > 200) { // This makes Inkscape crawl already
+ std::cout << "Warning: limit of 200 snap target paths reached, some will be ignored" << std::endl;
+ break;
+ }
}
}
}