diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2014-08-04 15:29:44 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2014-08-04 15:29:44 +0000 |
| commit | b70edbea3adc1d80307ac2efaf01181a504191e3 (patch) | |
| tree | a376cbf2f7dd28073ab89b15a897a135fdcbe0f6 /src/object-snapper.cpp | |
| parent | update to trunk (r13472) (diff) | |
| parent | Exporting. Fix for bug #1350897 (XAML export formats numbers in the top-level... (diff) | |
| download | inkscape-b70edbea3adc1d80307ac2efaf01181a504191e3.tar.gz inkscape-b70edbea3adc1d80307ac2efaf01181a504191e3.zip | |
update to trunk (r13488)
(bzr r13398.1.6)
Diffstat (limited to 'src/object-snapper.cpp')
| -rw-r--r-- | src/object-snapper.cpp | 4 |
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; + } } } } |
