summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-03-14 17:17:09 +0000
committerJabiertxof <jtx@jtx.marker.es>2016-03-14 17:17:09 +0000
commite798d5601af30bce49fa7288ea7a78fb7cd5bd70 (patch)
tree80d6f6da3363aa9125f177330b7f6d22619ac58e /src
parent"Relative to" option for node alignment. (diff)
downloadinkscape-e798d5601af30bce49fa7288ea7a78fb7cd5bd70.tar.gz
inkscape-e798d5601af30bce49fa7288ea7a78fb7cd5bd70.zip
Fix a bug meassuring text in units diferent than PX
(bzr r14704)
Diffstat (limited to 'src')
-rw-r--r--src/ui/tools/measure-tool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index a2a440ef4..07edf6039 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -1198,8 +1198,7 @@ void MeasureTool::showCanvasItems(bool to_guides, bool to_item, bool to_phantom,
curve->unref();
continue;
}
-
- curve->transform(item->i2doc_affine());
+ curve->transform(item->transform);
calculate_intersections(desktop, item, lineseg, curve, intersection_times);
if (iter == te_get_layout(item)->end()) {