summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/measure-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-11-03 15:56:23 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-11-05 23:14:17 +0000
commitd9e1fb5db48f46e52dbb171e7bdcee1602d8eb14 (patch)
treee84adb8bf6f13e389aade356fa4e6c0abdd62dc3 /src/ui/tools/measure-tool.cpp
parentremove Inkscape::URI::toString (diff)
downloadinkscape-d9e1fb5db48f46e52dbb171e7bdcee1602d8eb14.tar.gz
inkscape-d9e1fb5db48f46e52dbb171e7bdcee1602d8eb14.zip
Improvemets to find items
Diffstat (limited to 'src/ui/tools/measure-tool.cpp')
-rw-r--r--src/ui/tools/measure-tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index 3863d99d2..2a2578910 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -1300,7 +1300,7 @@ void MeasureTool::showCanvasItems(bool to_guides, bool to_item, bool to_phantom,
std::vector<SPItem*> items;
SPDocument *doc = desktop->getDocument();
Geom::Rect rect(start_p, end_p);
- items = doc->getItemsPartiallyInBox(desktop->dkey, rect, false, true);
+ items = doc->getItemsPartiallyInBox(desktop->dkey, rect, false, true, false, true, true);
Inkscape::LayerModel *layer_model = nullptr;
SPObject *current_layer = nullptr;
if(desktop){