diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-03-07 12:55:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-03-07 12:55:42 +0000 |
| commit | c04b394168c108cb7053d7395244b72b30430d24 (patch) | |
| tree | c99d89d9a81c812f37e3119e2fc4260379f29f30 /src/display | |
| parent | finish helper paths and beter handle of fillet/chamfer overflow. Also make th... (diff) | |
| parent | Enable PDF/PS/EPS export for gradient mesh (bug #1363369) (diff) | |
| download | inkscape-c04b394168c108cb7053d7395244b72b30430d24.tar.gz inkscape-c04b394168c108cb7053d7395244b72b30430d24.zip | |
update to trunk
(bzr r13645.1.36)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/drawing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/display/drawing.cpp b/src/display/drawing.cpp index 6e728b03d..eadd7e528 100644 --- a/src/display/drawing.cpp +++ b/src/display/drawing.cpp @@ -210,9 +210,9 @@ Drawing::_pickItemsForCaching() } std::set<DrawingItem*> to_cache; - for (i = _candidate_items.begin(); i != _candidate_items.end(); ++i) { - i->item->setCached(true); - to_cache.insert(i->item); + for (CandidateList::iterator j = _candidate_items.begin(); j != i; ++j) { + j->item->setCached(true); + to_cache.insert(j->item); } // Everything which is now in _cached_items but not in to_cache must be uncached // Note that calling setCached on an item modifies _cached_items |
